Skip to content

Commit

Permalink
fix(ingest/looker): add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Jul 9, 2024
1 parent d204d56 commit 9e6f3a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metadata-ingestion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
*sqllineage_lib,
"GitPython>2",
"python-liquid",
*sqlglot_lib,
}

bigquery_common = {
Expand Down Expand Up @@ -372,7 +373,7 @@
"kafka-connect": sql_common | {"requests", "JPype1"},
"ldap": {"python-ldap>=2.4"},
"looker": looker_common,
"lookml": looker_common | sqlglot_lib,
"lookml": looker_common,
"metabase": {"requests"} | sqlglot_lib,
"mlflow": {
"mlflow-skinny>=2.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9e6f3a4

Please sign in to comment.