Type hints for TransformManager #136
AlexanderFabisch
started this conversation in
Feature discussions
Replies: 1 comment 6 replies
-
Thanks @AlexanderFabisch for the consideration! For that particular case, I can just use string representations of the numbers, which is completely fine. I do however kind of like the integer indexing version, but it's nothing that can't be circumvented! Alternatively, do you have a recommendation on how to make this more nicely? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@erikmannerfelt I checked how you use the TransformManager in xdem. It seems like you are using integers as frame names. pytransform3d 1.9 will have type hints and my idea was to require frame names to be strings. Would that be a problem? Would it be better for you if it could be str or int?
Beta Was this translation helpful? Give feedback.
All reactions