From a1b9d3c518e5e83093bdf171b0e5da4669686199 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 10 Aug 2021 18:30:37 -0400 Subject: [PATCH] Still adding in Response everywhere... --- app/routers/event.py | 7 +++++++ app/routers/event_presentation.py | 5 +++++ app/routers/event_presenter.py | 6 ++++++ app/routers/event_registration.py | 5 +++++ app/routers/event_session.py | 7 +++++++ app/routers/flask_cfg.py | 5 +++++ app/routers/hosted_file.py | 1 + app/routers/journal.py | 5 +++++ app/routers/journal_entry.py | 6 ++++++ app/routers/log_client_viewing.py | 4 ++++ app/routers/membership_cfg.py | 1 + app/routers/membership_group.py | 7 +++++++ app/routers/membership_group_person.py | 4 ++++ app/routers/membership_person.py | 10 +++++++++- app/routers/membership_person_profile.py | 2 ++ app/routers/membership_type.py | 10 +++++++++- app/routers/membership_type_person.py | 6 +++++- app/routers/organization.py | 9 ++++++++- app/routers/page.py | 5 +++++ app/routers/post.py | 6 ++++++ app/routers/post_comment.py | 5 +++++ app/routers/product.py | 8 +++++++- app/routers/site.py | 6 ++++++ app/routers/site_domain.py | 6 ++++++ app/routers/user.py | 13 +++++++++++++ app/routers/user_person.py | 1 + 26 files changed, 145 insertions(+), 5 deletions(-) diff --git a/app/routers/event.py b/app/routers/event.py index c238e29..71f6b94 100644 --- a/app/routers/event.py +++ b/app/routers/event.py @@ -25,6 +25,7 @@ async def post_event_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_event_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -81,6 +83,7 @@ async def patch_event_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -158,6 +161,7 @@ async def get_event_obj_li( x_account_id: str = Header(...), by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -288,6 +292,7 @@ async def get_event_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -367,6 +372,7 @@ async def get_person_event_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -411,6 +417,7 @@ async def get_person_event_obj_li( async def delete_event_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/event_presentation.py b/app/routers/event_presentation.py index b57d991..39f3e62 100644 --- a/app/routers/event_presentation.py +++ b/app/routers/event_presentation.py @@ -25,6 +25,7 @@ async def post_event_presentation_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_event_presentation_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -81,6 +83,7 @@ async def patch_event_presentation_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -131,6 +134,7 @@ async def get_event_presentation_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -171,6 +175,7 @@ async def get_event_presentation_obj( async def delete_event_presentation_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/event_presenter.py b/app/routers/event_presenter.py index 5798de4..a3d9d82 100644 --- a/app/routers/event_presenter.py +++ b/app/routers/event_presenter.py @@ -25,6 +25,7 @@ async def post_event_presenter_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_event_presenter_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -81,6 +83,7 @@ async def patch_event_presenter_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -124,6 +127,7 @@ async def get_event_presenter_obj_li( x_account_id: str = Header(...), by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -251,6 +255,7 @@ async def get_event_presenter_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -290,6 +295,7 @@ async def get_event_presenter_obj( async def delete_event_presenter_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/event_registration.py b/app/routers/event_registration.py index f9a8622..158735d 100644 --- a/app/routers/event_registration.py +++ b/app/routers/event_registration.py @@ -25,6 +25,7 @@ async def post_event_registration_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_event_registration_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_event_registration_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -96,6 +99,7 @@ async def get_event_registration_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -114,6 +118,7 @@ async def get_event_registration_obj( async def delete_event_registration_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/event_session.py b/app/routers/event_session.py index 4e5da4c..93120f8 100644 --- a/app/routers/event_session.py +++ b/app/routers/event_session.py @@ -25,6 +25,7 @@ async def post_event_session_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_event_session_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -89,6 +91,7 @@ async def patch_event_session_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -122,6 +125,7 @@ async def patch_event_session_json( # x_account_id: str = Header(...), # by_alias: Optional[bool] = True, # exclude_unset: Optional[bool] = True, +# response: Response = Response, # ): # log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL # log.debug(locals()) @@ -161,6 +165,7 @@ async def get_event_session_obj_li( x_account_id: str = Header(...), by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -280,6 +285,7 @@ async def get_event_session_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -324,6 +330,7 @@ async def get_event_session_obj( async def delete_event_session_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/flask_cfg.py b/app/routers/flask_cfg.py index b3fa0a5..9ad2337 100644 --- a/app/routers/flask_cfg.py +++ b/app/routers/flask_cfg.py @@ -27,6 +27,7 @@ async def post_flask_cfg_obj( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -54,6 +55,7 @@ async def patch_flask_cfg_obj( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -83,6 +85,7 @@ async def get_flask_cfg_obj_li( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -108,6 +111,7 @@ async def get_flask_cfg_obj( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -122,6 +126,7 @@ async def get_flask_cfg_obj( async def delete_flask_cfg_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/hosted_file.py b/app/routers/hosted_file.py index 516c00b..805f8bc 100644 --- a/app/routers/hosted_file.py +++ b/app/routers/hosted_file.py @@ -37,6 +37,7 @@ async def upload_files( return_obj: bool = True, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/journal.py b/app/routers/journal.py index a1d5cc3..050942a 100644 --- a/app/routers/journal.py +++ b/app/routers/journal.py @@ -24,6 +24,7 @@ async def post_journal_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -48,6 +49,7 @@ async def patch_journal_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_journal_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -131,6 +134,7 @@ async def get_journal_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -149,6 +153,7 @@ async def get_journal_obj( async def delete_journal_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/journal_entry.py b/app/routers/journal_entry.py index e055b87..90c7b5e 100644 --- a/app/routers/journal_entry.py +++ b/app/routers/journal_entry.py @@ -26,6 +26,7 @@ async def post_journal_entry_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -50,6 +51,7 @@ async def patch_journal_entry_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -77,6 +79,7 @@ async def get_journal_entry_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -132,6 +135,7 @@ async def get_journal_entry_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -160,6 +164,7 @@ async def get_journal_obj_journal_entry_list( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -203,6 +208,7 @@ async def get_journal_obj_journal_entry_list( async def delete_journal_entry_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/log_client_viewing.py b/app/routers/log_client_viewing.py index d97f3ab..f853ce7 100644 --- a/app/routers/log_client_viewing.py +++ b/app/routers/log_client_viewing.py @@ -25,6 +25,7 @@ async def post_log_client_viewing_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_log_client_viewing_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -80,6 +82,7 @@ async def get_account_log_client_viewing_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -119,6 +122,7 @@ async def get_account_log_client_viewing_obj_li( async def delete_log_client_viewing_obj( log_client_viewing_obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/membership_cfg.py b/app/routers/membership_cfg.py index 32be5c3..7eb49a2 100644 --- a/app/routers/membership_cfg.py +++ b/app/routers/membership_cfg.py @@ -25,6 +25,7 @@ async def get_account_obj_membership_cfg( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/membership_group.py b/app/routers/membership_group.py index cc36b75..465006b 100644 --- a/app/routers/membership_group.py +++ b/app/routers/membership_group.py @@ -25,6 +25,7 @@ async def post_membership_group_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_membership_group_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_membership_group_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -110,6 +113,7 @@ async def get_account_membership_group_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -167,6 +171,7 @@ async def lookup_membership_group_obj( inc_user: bool = True, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -263,6 +268,7 @@ async def get_membership_group_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -302,6 +308,7 @@ async def get_membership_group_obj( async def delete_membership_group_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/membership_group_person.py b/app/routers/membership_group_person.py index 7c9ffed..a7b2f88 100644 --- a/app/routers/membership_group_person.py +++ b/app/routers/membership_group_person.py @@ -25,6 +25,7 @@ async def post_membership_group_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_membership_group_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -79,6 +81,7 @@ async def get_membership_group_person_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -107,6 +110,7 @@ async def get_membership_group_person_obj( async def delete_membership_group_person_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/membership_person.py b/app/routers/membership_person.py index 1db71ee..589bf8a 100644 --- a/app/routers/membership_person.py +++ b/app/routers/membership_person.py @@ -25,6 +25,7 @@ async def post_membership_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_membership_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_membership_person_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -119,6 +122,7 @@ async def get_account_obj_membership_person_list( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -201,6 +205,7 @@ async def get_person_obj_membership_person( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -257,6 +262,7 @@ async def lookup_membership_person_obj( inc_user: bool = True, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -356,6 +362,7 @@ async def get_membership_person_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -399,6 +406,7 @@ async def get_membership_person_obj( async def delete_membership_person_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -408,4 +416,4 @@ async def delete_membership_person_obj( obj_type=obj_type, obj_id=obj_id, ) - return result \ No newline at end of file + return result diff --git a/app/routers/membership_person_profile.py b/app/routers/membership_person_profile.py index 7fdfb51..228cf63 100644 --- a/app/routers/membership_person_profile.py +++ b/app/routers/membership_person_profile.py @@ -26,6 +26,7 @@ async def patch_membership_person_profile_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -54,6 +55,7 @@ async def get_membership_person_obj_profile( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/membership_type.py b/app/routers/membership_type.py index 5016f80..15949da 100644 --- a/app/routers/membership_type.py +++ b/app/routers/membership_type.py @@ -25,6 +25,7 @@ async def post_membership_type_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_membership_type_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_membership_type_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -110,6 +113,7 @@ async def get_account_membership_type_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -167,6 +171,7 @@ async def lookup_membership_type_obj( inc_user: bool = True, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -263,6 +268,7 @@ async def get_membership_type_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -304,6 +310,7 @@ async def get_membership_type_obj( # x_account_id: str = Header(...), # by_alias: Optional[bool] = True, # exclude_unset: Optional[bool] = True, +# response: Response = Response, # ): # log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL # log.debug(locals()) @@ -322,6 +329,7 @@ async def get_membership_type_obj( async def delete_membership_type_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -331,4 +339,4 @@ async def delete_membership_type_obj( obj_type=obj_type, obj_id=obj_id, ) - return result \ No newline at end of file + return result diff --git a/app/routers/membership_type_person.py b/app/routers/membership_type_person.py index 9bda1a1..844c304 100644 --- a/app/routers/membership_type_person.py +++ b/app/routers/membership_type_person.py @@ -25,6 +25,7 @@ async def post_membership_type_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_membership_type_person_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -79,6 +81,7 @@ async def get_membership_type_person_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -107,6 +110,7 @@ async def get_membership_type_person_obj( async def delete_membership_type_person_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -116,4 +120,4 @@ async def delete_membership_type_person_obj( obj_type=obj_type, obj_id=obj_id, ) - return result \ No newline at end of file + return result diff --git a/app/routers/organization.py b/app/routers/organization.py index 214c974..d29e985 100644 --- a/app/routers/organization.py +++ b/app/routers/organization.py @@ -25,6 +25,7 @@ async def post_organization_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_organization_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -83,6 +85,7 @@ async def post_organization_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -121,6 +124,7 @@ async def patch_organization_json( exclude: Optional[list] = [], exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -152,6 +156,7 @@ async def get_organization_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -175,6 +180,7 @@ async def get_organization_obj( x_account_id: str = Header(...), by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -192,6 +198,7 @@ async def get_organization_obj( async def delete_organization_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -201,4 +208,4 @@ async def delete_organization_obj( obj_type=obj_type, obj_id=obj_id, ) - return result \ No newline at end of file + return result diff --git a/app/routers/page.py b/app/routers/page.py index 7a2894a..9b5dd27 100644 --- a/app/routers/page.py +++ b/app/routers/page.py @@ -25,6 +25,7 @@ async def post_page_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_page_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_page_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -96,6 +99,7 @@ async def get_page_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -114,6 +118,7 @@ async def get_page_obj( async def delete_page_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/post.py b/app/routers/post.py index bdd848e..cda7c11 100644 --- a/app/routers/post.py +++ b/app/routers/post.py @@ -26,6 +26,7 @@ async def post_post_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -50,6 +51,7 @@ async def patch_post_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -76,6 +78,7 @@ async def get_post_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -108,6 +111,7 @@ async def get_account_obj_post_list( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -158,6 +162,7 @@ async def get_post_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -176,6 +181,7 @@ async def get_post_obj( async def delete_post_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/post_comment.py b/app/routers/post_comment.py index 93c4196..25cd6fd 100644 --- a/app/routers/post_comment.py +++ b/app/routers/post_comment.py @@ -25,6 +25,7 @@ async def post_post_comment_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -49,6 +50,7 @@ async def patch_post_comment_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -75,6 +77,7 @@ async def get_post_comment_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -96,6 +99,7 @@ async def get_post_comment_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -114,6 +118,7 @@ async def get_post_comment_obj( async def delete_post_comment_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/product.py b/app/routers/product.py index 9ba490b..08e11ae 100644 --- a/app/routers/product.py +++ b/app/routers/product.py @@ -27,6 +27,7 @@ async def post_product_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -51,6 +52,7 @@ async def patch_product_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -80,6 +82,7 @@ async def get_product_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -124,6 +127,7 @@ async def get_account_product_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -166,6 +170,7 @@ async def get_product_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -184,6 +189,7 @@ async def get_product_obj( async def delete_product_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -193,4 +199,4 @@ async def delete_product_obj( obj_type=obj_type, obj_id=obj_id, ) - return result \ No newline at end of file + return result diff --git a/app/routers/site.py b/app/routers/site.py index 82b6410..e9fd2a2 100644 --- a/app/routers/site.py +++ b/app/routers/site.py @@ -26,6 +26,7 @@ async def post_site_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -50,6 +51,7 @@ async def patch_site_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -76,6 +78,7 @@ async def get_site_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -97,6 +100,7 @@ async def get_site_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -115,6 +119,7 @@ async def get_site_obj( async def delete_site_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -135,6 +140,7 @@ async def delete_site_obj( # x_account_id: str = Header(...), # by_alias: Optional[bool] = True, # exclude_unset: Optional[bool] = True, +# response: Response = Response, # ): # log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL # log.debug(locals()) diff --git a/app/routers/site_domain.py b/app/routers/site_domain.py index 83036a1..ba0dfdb 100644 --- a/app/routers/site_domain.py +++ b/app/routers/site_domain.py @@ -27,6 +27,7 @@ async def post_site_domain_obj( by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -52,6 +53,7 @@ async def patch_site_domain_obj( by_alias: bool = True, exclude_unset: bool = True, exclude_none: bool = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -82,6 +84,7 @@ async def lookup_site_domain_obj( #exclude: Optional[list] = [], exclude_unset: bool = True, exclude_none: bool = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -140,6 +143,7 @@ async def get_site_domain_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -162,6 +166,7 @@ async def get_site_domain_obj( by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, exclude_none: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -180,6 +185,7 @@ async def get_site_domain_obj( async def delete_site_domain_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/user.py b/app/routers/user.py index b4daf62..69f86f7 100644 --- a/app/routers/user.py +++ b/app/routers/user.py @@ -27,6 +27,7 @@ async def post_user_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -50,6 +51,7 @@ async def post_user_new_obj( return_obj: bool = True, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -90,6 +92,7 @@ async def change_user_obj_password( inc_person: bool = False, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -132,6 +135,7 @@ async def patch_user_obj( return_obj: Optional[bool] = True, by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -161,6 +165,7 @@ async def user_new_auth_key( by_alias: bool = True, exclude_unset: bool = True, exclude_none: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -209,6 +214,7 @@ async def user_authenticate( by_alias: bool = True, exclude_unset: bool = True, exclude_none: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -316,6 +322,7 @@ async def get_user_obj_li( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -343,6 +350,7 @@ async def lookup_user_obj( inc_person: bool = False, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -420,6 +428,7 @@ async def lookup_email( inc_person: bool = False, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -497,6 +506,7 @@ async def lookup_username( inc_user_role_list: bool = False, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -591,6 +601,7 @@ async def get_user_obj( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -652,6 +663,7 @@ async def get_user_obj_order_list( x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) @@ -697,6 +709,7 @@ async def get_user_obj_order_list( async def delete_user_obj( obj_id: str = Query(..., min_length=1, max_length=22), x_account_id: str = Header(...), + response: Response = Response, ): log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) diff --git a/app/routers/user_person.py b/app/routers/user_person.py index 648cd6e..b3d0791 100644 --- a/app/routers/user_person.py +++ b/app/routers/user_person.py @@ -36,6 +36,7 @@ async def lookup_email( inc_user: bool = False, by_alias: bool = True, exclude_unset: bool = True, + response: Response = Response, ): log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals())