Skip to content

Annotating Array, Set and Dictionaries (attributes & parameters) (native subclassing) #683

Closed
@Kiruse

Description

@Kiruse

When using native subclassing API, the docs demonstrate how to create a float array property, but there is no talk of TDictionaries or TSets. Are those possible yet?

Furthermore I have not been able to create a function which takes an array either. I tried list, list(str) and [str], but list isn't supported altogether (missing __args__ attribute) and [str] cannot be parsed (leaving the parameter ignored). Is this not possible yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions