global_model.py 301 B

1234567891011121314
  1. from utils.singleton import Singleton
  2. @Singleton
  3. class GlobalModel:
  4. def __init__(self):
  5. self._tenant_token = ""
  6. @property
  7. def tenant_token(self):
  8. return self._tenant_token
  9. @tenant_token.setter
  10. def tenant_token(self, value):
  11. self._tenant_token = value