(20251126) ...
This commit is contained in:
@@ -137,8 +137,8 @@ def init(blueprint_setup_state):
|
|||||||
# @log_chain_to_mongo(attr_name = "logs_mongo")
|
# @log_chain_to_mongo(attr_name = "logs_mongo")
|
||||||
@should_not_be_under_maintenance(attr_name = "is_under_maintenance")
|
@should_not_be_under_maintenance(attr_name = "is_under_maintenance")
|
||||||
@validate_input(
|
@validate_input(
|
||||||
header_validator = lambda x: SimpleCosecCredentialsHeaders(**x),
|
# header_validator = lambda x: SimpleCosecCredentialsHeaders(**x),
|
||||||
data_validator = lambda x: CosecInOutReportRequestData(**x)
|
# data_validator = lambda x: CosecInOutReportRequestData(**x)
|
||||||
)
|
)
|
||||||
@handle_cancelled_request()
|
@handle_cancelled_request()
|
||||||
async def in_out_report_generate(
|
async def in_out_report_generate(
|
||||||
|
|||||||
@@ -149,8 +149,8 @@ async def close_browser() -> None:
|
|||||||
# @log_chain_to_mongo(attr_name = "logs_mongo")
|
# @log_chain_to_mongo(attr_name = "logs_mongo")
|
||||||
@should_not_be_under_maintenance(attr_name = "is_under_maintenance")
|
@should_not_be_under_maintenance(attr_name = "is_under_maintenance")
|
||||||
@validate_input(
|
@validate_input(
|
||||||
header_validator = lambda x: SimpleCosecCredentialsHeaders(**x),
|
# header_validator = lambda x: SimpleCosecCredentialsHeaders(**x),
|
||||||
data_validator = lambda x: CosecMusterRollReportRequestData(**x)
|
# data_validator = lambda x: CosecMusterRollReportRequestData(**x)
|
||||||
)
|
)
|
||||||
@handle_cancelled_request(
|
@handle_cancelled_request(
|
||||||
cleanup_coro = close_browser
|
cleanup_coro = close_browser
|
||||||
|
|||||||
Reference in New Issue
Block a user