I'm defining my multi-asset with partitions like s...
# ask-community
l
I'm defining my multi-asset with partitions like so
Copy code
@multi_asset(
        partitions_def=DailyPartitionsDefinition(
            start_date=start_date),
        code_version="1",
        outs={"zendesk_chats": AssetOut(is_required=True, io_manager_key=io_manager_key),
              "failed_zendesk_chat_ids": AssetOut(is_required=False,  io_manager_key=io_manager_key)}
    )
    def zendesk_chats(context):
and I am getting
Copy code
The output has no asset partitions
🤖 1
s
Hi Liam - where are you seeing that error? Do you have a self-contained code snippet we could use to reproduce your issue?
l
Hi @sandy,I realized it ws failing because of
context.asset_partition_key_for_output
not being given an output_key,
👍 1