AI问数二期
This commit is contained in:
@@ -11,6 +11,7 @@ class CubeReportSettings:
|
||||
request_timeout_seconds: float
|
||||
default_page_size: int
|
||||
max_page_size: int
|
||||
metadata_refresh_seconds: int
|
||||
|
||||
|
||||
def get_cube_report_settings() -> CubeReportSettings:
|
||||
@@ -30,4 +31,7 @@ def get_cube_report_settings() -> CubeReportSettings:
|
||||
),
|
||||
default_page_size=int(os.getenv("CUBE_REPORT_DEFAULT_PAGE_SIZE", "20")),
|
||||
max_page_size=int(os.getenv("CUBE_REPORT_MAX_PAGE_SIZE", "100")),
|
||||
metadata_refresh_seconds=int(
|
||||
os.getenv("CUBE_REPORT_METADATA_REFRESH_SECONDS", "3600")
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user