Skip to content

Add support for more forms of Quantity to be passed to RealList (and potentially RealVector and IntegerList) #4879

@Gobot1234

Description

@Gobot1234

📝 Description of the feature

While updating the examples I have run into many cases where I want to be able to initialise a point like property with all of these types, tuple[Quantity, Quantity, Quantity] | list[Quantity] | Quantity[np.ndarray] (and potentially the 2d variation of the tuple)

💡 Steps for implementing the feature

Changes in flobject

🔗 Useful links and references

Would be nice if you could also figure out the autogeneration to update parameters for this but I will cover this at some point using some types only descriptor magic

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove any current implemented feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions