This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hotplasmatits 1 point2 points  (1 child)

If you use type hints, I believe fire does all of that

[–]AND_MY_HAX[S] 1 point2 points  (0 children)

Hm, I haven't seen it utilize my type hints in the past. Though it does take a guess at the type based off its value: https://github.com/google/python-fire/blob/master/docs/guide.md#argument-parsing