Repository navigation
Commit 613a00a
committed
Enhance
- Add type hints. Part of #4570.
- Make attributes containing normal sequences (i.e. not our custom
objects like Tags) explicitly tuples in `__init__`.
- Perserve tuples as tuples, instead of converting to lists, also in
`to_dict` (related to #3902). That means less work and smaller
memory usage. Earlier change to `ModelObject.config` makes sure
tuples are preserved over `to_json/from_json` roundtrip.
- Use tuples attributes also with `robot.running.model.UserKeyword`.
That module will get types and be enhanced in the near future.robot.model.control.1 parent 5719647 commit 613a00a
5 files changed
Lines changed: 137 additions & 120 deletions
File tree
- src/robot
- model
- running
- utest
- model
- running
0 commit comments