Guy McCombe
11/30/2022, 4:25 PMCacheableAssetsDefinition
object generated by the load_assets_from_airbyte_instance
function into a repository? At the moment we have it defined like so:
definitions = [
airbyte_assets,
with_resources(all_assets, resources),
*all_jobs
]
return definitions
However the inclusion of the CacheableAssetsDefinition
(here airbyte_assets
) converts the repository to a PendingRepositoryDefinition
object, which doesn’t feature the methods that we’re using to test the repository (e.g. get_all_jobs
). Any tips? Thanks! 😁Adam Bloom
11/30/2022, 5:06 PMairbyte_assets = with_resources(
airbyte_cacheable_assets.build_definitions(airbyte_cacheable_assets.compute_cacheable_data()),
{"airbyte": airbyte_configured},
)
Sven Lito
12/16/2022, 12:53 PMAdam Bloom
12/16/2022, 2:42 PMSven Lito
12/16/2022, 6:01 PMget_all_jobs
tests like Guy above I get a PendingRepositoryDefinition
so I thought I'd ask.Guy McCombe
12/19/2022, 7:38 AM