Clean up and testing and bug fixes
This commit is contained in:
@@ -166,7 +166,7 @@ class Order_Cart_Base(BaseModel):
|
|||||||
#log.setLevel(logging.DEBUG)
|
#log.setLevel(logging.DEBUG)
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if values['account_id_random']:
|
if values.get('account_id_random', None):
|
||||||
return redis_lookup_id_random(record_id_random=values['account_id_random'], table_name='account')
|
return redis_lookup_id_random(record_id_random=values['account_id_random'], table_name='account')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ async def post_order_cart_obj(
|
|||||||
exclude_unset: Optional[bool] = True,
|
exclude_unset: Optional[bool] = True,
|
||||||
response: Response = Response,
|
response: Response = Response,
|
||||||
):
|
):
|
||||||
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
obj_type = 'order_cart'
|
obj_type = 'order_cart'
|
||||||
|
|||||||
Reference in New Issue
Block a user