Skip to content

Commit

Permalink
rm pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Aug 26, 2024
1 parent e0d227d commit 3234f3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ def load_etl_jobs_from_yaml(yaml_path: str) -> dg.Definitions:
# highlight-end


defs = load_etl_jobs_from_yaml(str(Path(__file__).parent / "etl_jobs_with_jinja.yaml"))
defs = load_etl_jobs_from_yaml(
"docs_beta_snippets/guides/data-modeling/asset-factories/etl_jobs_with_jinja.yaml"
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from pathlib import Path

import dagster_aws.s3 as s3
import yaml

Expand Down Expand Up @@ -38,5 +36,7 @@ def load_etl_jobs_from_yaml(yaml_path: str) -> dg.Definitions:
return dg.Definitions.merge(*defs)


defs = load_etl_jobs_from_yaml(str(Path(__file__).parent / "etl_jobs.yaml"))
defs = load_etl_jobs_from_yaml(
"docs_beta_snippets/guides/data-modeling/asset-factories/etl_jobs.yaml"
)
# highlight-end

0 comments on commit 3234f3d

Please sign in to comment.