fix(ingest/looker): add missing dependency (#10876)

This commit is contained in:
Harshal Sheth 2024-07-11 13:25:13 -07:00 committed by GitHub
parent 418f7e05cd
commit 44930dfd1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -166,6 +166,7 @@ looker_common = {
*sqlglot_lib,
"GitPython>2",
"python-liquid",
*sqlglot_lib,
}
bigquery_common = {

View File

@ -256,7 +256,7 @@ class LookerDashboardSourceConfig(
"ingest dashboards in the Shared folder space.",
)
max_threads: int = Field(
os.cpu_count() or 40,
default_factory=lambda: os.cpu_count() or 40,
description="Max parallelism for Looker API calls. Defaults to cpuCount or 40",
)
external_base_url: Optional[str] = Field(