Working on stuff related to session proposals. Lots of bug fixes.......

This commit is contained in:
Scott Idem
2021-08-26 04:21:39 -04:00
parent 6508461ae6
commit acf6842017
5 changed files with 69 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ async def post_contact_obj(
exclude_unset: Optional[bool] = True,
response: Response = Response,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
obj_type = 'contact'

View File

@@ -89,7 +89,7 @@ async def post_person_obj_new_v3(
exclude_unset: bool = True,
response: Response = Response,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
log.debug(person_obj.account_id)
@@ -114,7 +114,7 @@ async def post_person_obj_new_v3(
person_id = create_person_obj_result
if return_obj:
if load_person_obj_result := load_person_obj(
person_id=person_id,
person_id = person_id,
enabled = enabled,
inc_address = inc_address,
inc_contact = inc_contact,
@@ -204,7 +204,7 @@ async def post_person_json(
exclude_none: Optional[bool] = True,
response: Response = Response,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
# if person_id := redis_lookup_id_random(record_id_random=person_id, table_name='person'): pass

View File

@@ -608,7 +608,7 @@ async def get_user_obj(
exclude_unset: Optional[bool] = True,
response: Response = Response,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
if user_id := redis_lookup_id_random(record_id_random=user_id, table_name='user'): pass