Chris Nogradi
11/10/2022, 6:01 PMload_assets_from_airbyte_instance()
but it seems it is doing some sort of asset caching and in dagit I don't see any asset being shown anymore. It did when I used
build_airbyte_assets()
Is
there some other code that makes the assets actually appear in dagit? I have downstream DBT assets but they now hang off of unlinked SourceAssets in dagit.Dusty Shapiro
11/10/2022, 6:06 PMairbyte_payments_backend_assets = load_assets_from_airbyte_instance(
airbyte,
connection_to_group_fn=lambda group_name: "payments_backend_replication",
key_prefix="payments_backend",
connection_filter=lambda meta: "Payments" in meta.name,
)
I am then importing the airbyte_payments_backend_assets
into my repository.py file, which has a method decorated with @repository , which returns an array of definitions which include airbyte_payments_backend_assets
Chris Nogradi
11/10/2022, 6:44 PMDusty Shapiro
11/10/2022, 6:50 PMChris Nogradi
11/10/2022, 8:11 PM