Skip to content

Commit

Permalink
finish dagster-fivetran types (#7563)
Browse files Browse the repository at this point in the history
  • Loading branch information
smackesey committed May 3, 2022
1 parent 7bdffdb commit 2db9bd1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, List, Optional
from typing import Any, Dict, Iterator, List, Optional

from dagster_fivetran.types import FivetranOutput

Expand Down Expand Up @@ -40,7 +40,9 @@ def _table_data_to_materialization(
)


def generate_materializations(fivetran_output: FivetranOutput, asset_key_prefix: List[str]):
def generate_materializations(
fivetran_output: FivetranOutput, asset_key_prefix: List[str]
) -> Iterator[AssetMaterialization]:
for schema in fivetran_output.schema_config["schemas"].values():
schema_name = schema["name_in_destination"]
schema_prefix = fivetran_output.connector_details.get("config", {}).get("schema_prefix")
Expand Down

0 comments on commit 2db9bd1

Please sign in to comment.