Liam Pieri
07/20/2023, 7:14 PM@asset(
resource_defs={
"io_manager": ConfigurablePickledObjectGCSIOManager,
},
partitions_def=MultiPartitionsDefinition(
{
"date": DailyPartitionsDefinition(start_date="2023-07-10"),
"customer": StaticPartitionsDefinition(customer_list),
}
),
context_kwargs={
"bucket": Config(context.partition_key["customer"]).buckets["raw_data"],
"prefix": "zendesk/chats",
},
)
def zendesk_chats(context):
...
Of course the @asset
doesn't have access to the context
object, how can I get around this?
Open to other approaches.
I see how this could be an anti-pattern. Assets are supposed to read/write to the same storage.claire
07/21/2023, 11:17 PMload_input
or handle_output
calls.