Skip to content

Support for set type attributes #33

@ivan-alfonso

Description

@ivan-alfonso

Adding support for ASTs with Set type parameters to ASTTransformer would be valuable. For example, have the ability to address the following metamodel (with a Set type parameter) in a transformation.

@dataclass
class Library(Node):
    books: Set["Book"] = field(default_factory=set)

@dataclass
class Book(Node):
    name: str = ""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions