Hey folks, does anyone know of a way I can get a l...
# integration-airbyte
j
Hey folks, does anyone know of a way I can get a list of asset keys from my airbyte assets
airbyte_assets = load_assets_from_connections(...)
? I would like to pass the asset keys into a asset job definition. For example:
Copy code
airbyte_assets = load_assets_from_connections(...) 

# do something to get airbyte_asset keys 
MY_ASSET_KEYS = airbyte_assets.do_something_to_get_keys() 

my_job = define_asset_job(name="my_job", selection=AssetSelection.keys( MY_ASSET_KEYS ))
b
Hi Jonathan, the resolution of the asset keys in this case is deferred until the Dagster repository loads, because Airbyte’s APIs need to be queried to get the list of connections. Would selecting assets by group name suffice in this case?