You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotation=Arrow|Bars|Type@dataclassclassArrow:
params: list[Annotation]
returns: Annotation@dataclassclassBars:
terms: list[Annotation] # always at least 2 items
And then the indexer would translate all Union[...] and Callable[...] annotations into Bars and Arrow structures. This would get rid of the ugly edge case described in #8 for callables:
Callable[[], returns]
# =>Type("Callable", xref, params=[
Type("", None, params=[]), # this would no longer happenType("returns", None, None),
])
Instead of
Let's show
And maybe even
The text was updated successfully, but these errors were encountered: