Added person lookup by email and other minor changes.

This commit is contained in:
Scott Idem
2021-12-01 18:19:36 -05:00
parent 6883bebd16
commit 2c0af0a321
5 changed files with 105 additions and 23 deletions

View File

@@ -277,7 +277,7 @@ def load_order_obj(
# ### BEGIN ### API Order Methods ### get_order_rec_list() ###
# Updated 2021-11-22
# Updated 2021-12-01
def get_order_rec_list(
for_obj_type: str,
for_obj_id: str,
@@ -366,9 +366,9 @@ def get_order_rec_list(
if order_rec_li_result := sql_select(data=data, sql=sql, as_list=True):
order_rec_li = order_rec_li_result
else:
order_rec_li = None
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
else: # None or False
order_rec_li = order_rec_li_result
log.debug(order_rec_li_result)
return order_rec_li