Add support for more forms of Quantity to be passed to RealList (and potentially RealVector and IntegerList)
- Dominant language
- Python
- Stars
- 497
- Forks
- 77
- Avg merge
- 22h 37m
- Merged PRs (30d)
- 45
Description
### 📝 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
Contributor guide
Research direction
Start in flobject and trace how RealList accepts values, then compare the related RealVector and IntegerList paths. Check the autogeneration flow mentioned in the issue and identify the existing tests or parameter updates covering these types. Done means the listed Quantity forms, including the possible 2D tuple variation, are accepted consistently without requiring the autogeneration work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100