Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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