Matt Gazzano
02/07/2023, 10:51 PMsean
02/08/2023, 1:24 PM@asset
definition.
If the latter, then I’ll call in a colleague who knows more about the status of dynamic partitions (active area of development for us right now).Matt Gazzano
02/08/2023, 2:22 PMlist_of_tables = ['table name 1','table name 2','table name 3']
for tbl in list_of_tables:
@asset
def dynamic_asset_name_here():
df = function_that_gets_api_data_to_dataframe(tbl)
return df
sean
02/08/2023, 5:43 PMassets = []
for tbl in list_of_tables:
@asset(name=<something_dynamic>)
def dynamically_named_asset():
...
assets.append(dynamically_named_asset)
sandy
02/23/2023, 4:28 PM