Updating the models and less log info
This commit is contained in:
@@ -62,6 +62,8 @@ class Event_Location_Base(BaseModel):
|
||||
|
||||
file_count: Optional[int]
|
||||
internal_use_count: Optional[int] # Should be renamed to "internal_use_file_count"???
|
||||
event_file_id_li_json: Optional[Union[Json, None]] # List of file IDs (actually id_random)
|
||||
file_count_all: Optional[int] # Of all files under a location
|
||||
|
||||
alert: Optional[bool]
|
||||
alert_msg: Optional[str]
|
||||
|
||||
@@ -110,7 +110,7 @@ class Event_Presenter_Base(BaseModel):
|
||||
cfg_json: Optional[Union[Json, None]] # Store per presenter config options like theme, language, etc
|
||||
data_json: Optional[Union[Json, None]] # For key value data. Careful with overwriting existing fields!
|
||||
|
||||
file_count: Optional[int]
|
||||
file_count: Optional[int] # File count for the presenter
|
||||
event_file_id_li_json: Optional[Union[Json, None]] # List of file IDs (actually id_random)
|
||||
|
||||
# General catchall for agreement or consent
|
||||
|
||||
@@ -100,7 +100,7 @@ class Event_Session_Base(BaseModel):
|
||||
file_count: Optional[int] # Only files directly under the session
|
||||
internal_use_count: Optional[int] # Should be renamed to "internal_use_file_count"???
|
||||
event_file_id_li_json: Optional[Union[Json, None]] # List of file IDs (actually id_random)
|
||||
file_count_all: Optional[int] # All files under a session
|
||||
file_count_all: Optional[int] # Of all files under a session
|
||||
|
||||
status: Optional[int]
|
||||
review: Optional[bool]
|
||||
|
||||
@@ -366,7 +366,7 @@ def handle_get_obj_li(
|
||||
|
||||
commons: Common_Route_Params = None,
|
||||
):
|
||||
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(locals())
|
||||
|
||||
import urllib
|
||||
@@ -770,7 +770,7 @@ def handle_get_obj_id(
|
||||
- /order/cart/line = order_cart_line
|
||||
- /lu/some_lookup = lu_some_lookup
|
||||
"""
|
||||
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(locals())
|
||||
|
||||
# NOTE: WARNING NOTE: WARNING NOTE: WARNING NOTE: WARNING NOTE: WARNING NOTE: WARNING NOTE: WARNING
|
||||
|
||||
Reference in New Issue
Block a user