Open
Description
I ran into an exception when using fire 0.7.0
and python 3.13.2
, and in an attempt to fix it, I created this reproducible code:
import fire
def main(flag):
print(flag)
class Run:
run = lambda self: main(flag=True)
test = lambda self: main(flag=False)
if __name__ == '__main__':
fire.Fire(Run())
Testing the issue with the current repo @ 45152e1
Showed this issue was fixed in this commit: 2e0867d
Please consider releasing a new minor version for increased support of fire in python 3.13.
Metadata
Metadata
Assignees
Labels
No labels