-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Hi python-fire,
fire.Fire
looked like a very interesting function so I wanted to inspect it with fire.Fire
. I was surprised that the interpreter printed out a dictionary with all my locals and globals.
I'm not sure if that's what you guys intended to happen, I guess it kind of is because of fire.Fire()
defined as a valid invocation which means fire.Fire(globals() + locals())
. Perhaps it's worth considering introducing a different function that would do that? fire.FireThisModule()
?
Metadata
Metadata
Assignees
Labels
No labels