Skip to content

Multi-asset docs no longer displays yielding outputs #27115

Open
@ion-elgreco

Description

@ion-elgreco

What's the issue or suggestion?

I thought I was losing my mind for a bit, but the latest docs don't show properly how to yield outputs anymore.

This example is missing for instance:

@multi_asset(
    outs={"asset1": AssetOut(is_required=False), "asset2": AssetOut(is_required=False)}
)
def assets_1_and_2():
    if random.randint(1, 10) < 5:
        yield Output([1, 2, 3, 4], output_name="asset1")

    if random.randint(1, 10) < 5:
        yield Output([6, 7, 8, 9], output_name="asset2")

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to documentation in general

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions