Exemple #1
0
    def remove_context(self, context_id):
        try:
            EntityContext.remove_context(context_id)

        except Exception as e:
            traceback.print_exc()
            raise e
Exemple #2
0
 def get_context(self, context):
     try:
         result = EntityContext.get_entity_context(context)
         if result:
             return result
     except Exception as e:
         traceback.print_exc()
         raise e