felicity-lims/felicity/version/version.py

20 lines
371 B
Python
Raw Normal View History

2024-09-06 17:31:42 +08:00
__version__ = "0.1.1"
2024-04-06 15:15:04 +08:00
class FelicityVersion:
_version = __version__
@classmethod
2024-09-28 15:29:22 +08:00
def version(cls) -> str:
2024-04-06 15:15:04 +08:00
return cls._version
@staticmethod
2024-09-28 15:29:22 +08:00
def get_updates() -> dict:
2024-04-06 15:15:04 +08:00
"""get latest release"""
return {}
@staticmethod
2024-09-28 15:29:22 +08:00
def upgrade() -> dict:
2024-04-06 15:15:04 +08:00
"""get latest changes from github and upgrade"""
return {}