Replies: 1 comment
-
It seems that by design nothing will run in Click after the function decorated with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having trouble using
click==8.1.7, python==3.8
with a package I wrote - unfortunately I can't share the package as it's private, but I'll provide as much detail as I can. The package never reaches the line1/0
always exiting the script altogether with an exit code of 0 after the linereturn engine
All that
citygeo_secrets
does is essentially the following, and the function is working successfully with or without ClickSome other things I noticed after the return statement:
Context._depth == 2
initiallyContext._depth == 1
, then inBaseCommand.main
, It seemed likestandalone_mode == False
when the context is trying to teardown and trying to return my SQLAlchemy Engine, so that is when it exits with exit code 0Any thoughts? Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions