Skip to content

Allow element creation functions to accept any Sequence type for value shape #1010

Description

@mscroggs

Currently value shape in element creation functions (eg create_custom_element) is typed to be tuple[int, ...].

It would be better for the type hint to be Sequence[int] and to convert to a tuple inside the function before calling the wrapped C++ functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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