Skip to content

RunVar exposure not flexible enough #2858

Open
@oremanj

Description

@oremanj

RunVar[T].get(U) should return Union[T, U], not an error. Look at ContextVar for inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    typingAdding static types to trio's interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions