Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-asset docs no longer displays yielding outputs #27115

Open
ion-elgreco opened this issue Jan 15, 2025 · 0 comments
Open

Multi-asset docs no longer displays yielding outputs #27115

ion-elgreco opened this issue Jan 15, 2025 · 0 comments
Labels
area: docs Related to documentation in general

Comments

@ion-elgreco
Copy link
Contributor

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.

@ion-elgreco ion-elgreco added the area: docs Related to documentation in general label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to documentation in general
Projects
None yet
Development

No branches or pull requests

1 participant