Geoffrey Greenleaf
12/15/2022, 3:24 PMdef create_bronze_assets(tenant: str):
@asset(...)
def some_asset()
return [some_asset]
# in __init__.py that has the new defs = Definitions line
tenant_one = create_accounting_system_assets('tenant_one')
tenant_two = create_accouting_system_assets('tenant_two')
tenant_three = create_other_accounting_system_assets('tenant_three')
defs = Defintions(...)
Depending on the tenant we would materialize each set of assets once a day. I'm looking at making the assets partitioned by day for that. Then I got looking into multi dimensional partitions and possible thinking about using the tenant name as the first key of the partition and the date as the second. Any thoughts on this idea or better ways to handle this multi tenancy?