Work on badges and related.
This commit is contained in:
@@ -649,6 +649,8 @@ def sql_select(
|
|||||||
log.error('An operational error exception happened. This is likely a "MySQL server has gone away" error. Going to try again...')
|
log.error('An operational error exception happened. This is likely a "MySQL server has gone away" error. Going to try again...')
|
||||||
log.exception('**** *** ** * ### BEGIN ### Operational Exception Happened: Trying again... * ** *** ****')
|
log.exception('**** *** ** * ### BEGIN ### Operational Exception Happened: Trying again... * ** *** ****')
|
||||||
log.error('^^^^ ^^^ ^^ ^ ### END ### Operational Exception ^ ^^ ^^^ ^^^^')
|
log.error('^^^^ ^^^ ^^ ^ ### END ### Operational Exception ^ ^^ ^^^ ^^^^')
|
||||||
|
log.error('SQL Alchemy DB URI:')
|
||||||
|
log.error(settings.SQLALCHEMY_DB_URI)
|
||||||
|
|
||||||
sql_connect(current_db=db)
|
sql_connect(current_db=db)
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ app = FastAPI(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# log.setLevel(logging.INFO)
|
# log.setLevel(logging.DEBUG)
|
||||||
# log.debug(config.settings)
|
# log.debug(config.settings)
|
||||||
|
|
||||||
if aether_cfg_sql_result := sql_select(
|
if aether_cfg_sql_result := sql_select(
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ class Event_Badge_Template_Base(BaseModel):
|
|||||||
script_src: Optional[str]
|
script_src: Optional[str]
|
||||||
passcode: Optional[str]
|
passcode: Optional[str]
|
||||||
|
|
||||||
|
other_json: Optional[str]
|
||||||
|
|
||||||
notes: Optional[str]
|
notes: Optional[str]
|
||||||
|
|
||||||
_processed_at: datetime.datetime = PrivateAttr(default_factory=datetime.datetime.now)
|
_processed_at: datetime.datetime = PrivateAttr(default_factory=datetime.datetime.now)
|
||||||
|
|||||||
Reference in New Issue
Block a user