Exemplo n.º 1
0
 def __init__(self, kw):
     self.user_id = kw['user_id']
     logger.debug("In UserManager locals are:", pf(locals()))
     #self.user = model.User.get(user_id)
     #logger.debug("user is:", user)
     self.user = model.User.query.get(self.user_id)
     logger.debug("user is:", self.user)
     datasets = create_datasets_list()
     for dataset in datasets:
         if not dataset.check_confidentiality():
             continue
         logger.debug("\n  Name:", dataset.name)
         logger.debug("  Type:", dataset.type)
         logger.debug("  ID:", dataset.id)
         logger.debug("  Confidential:", dataset.check_confidentiality())
Exemplo n.º 2
0
 def __init__(self, kw):
     self.user_id = kw['user_id']
     logger.debug("In UserManager locals are:", pf(locals()))
     #self.user = model.User.get(user_id)
     #logger.debug("user is:", user)
     self.user = model.User.query.get(self.user_id)
     logger.debug("user is:", self.user)
     datasets = create_datasets_list()
     for dataset in datasets:
         if not dataset.check_confidentiality():
             continue
         logger.debug("\n  Name:", dataset.name)
         logger.debug("  Type:", dataset.type)
         logger.debug("  ID:", dataset.id)
         logger.debug("  Confidential:", dataset.check_confidentiality())
Exemplo n.º 3
0
 def __init__(self, kw):
     self.datasets = create_datasets_list()
Exemplo n.º 4
0
 def __init__(self, kw):
     self.datasets = create_datasets_list()