extensions.py 530B

123456789101112131415
  1. from hapic import Hapic
  2. hapic = Hapic()
  3. # TODO - G.M - 2018-08-08 - [GlobalVar] Refactor Global var of tracim_backend
  4. # INFO - G.M - 2018-08-08 - APP_LIST
  5. # APP_LIST is one of the few "global_val" in tracim_backend, with hapic
  6. # and ALL_CONTENT_TYPES_VALIDATOR.
  7. # The goal of this is to be able to get current list of loaded app.
  8. # List is empty until config load apps.
  9. # If you need to update APP_LIST, think about updating Content validator like
  10. # ALL_CONTENT_TYPES_VALIDATOR , see update_validators() method.
  11. APP_LIST = []