-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python entrypoints defined with Click don't work #116964
Comments
@astrojuanlu |
Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11889) to address your feedback. The timeline for resolution varies based on resourcing. #please-close |
Thanks - do we get a notification here when it's resolved (if ever)? |
@astrojuanlu I sent your feedback to the writer who recommends that if you're blocked from using a library you need, reach out to support at https://help.databricks.com/. If the intent is to add this to the docs, this is an edge case, which we don't document in the tech docs. Support might document it in the KB. |
If I can emit a recommendation, it would be nice to document in the same page how the entry point execution is performed in better detail. If I squint, I see two hints, one in the page itself:
And in the traceback:
This tells me that, internally, Databricks has some script that loads the entry point and executes it, and expects said entry point to read the parameters from the |
Because of pallets/click#1054, pallets/click#2249, Python entrypoints defined with Click don't work.
Simple reproducer: https://github.com/astrojuanlu/simple-click-entrypoint
Job definition:
Result:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: