cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

jobs.python_wheel_task.enty_point can't find entry points defined in dependency packages

zgreen
New Contributor

Let's say I have packageA with no entry points, packageA dependents on dependencyA package, which has entry-points.

In order to be able to use those entrypoints, i.e.

```yaml
python_wheel_task:
  package_name: packageA
  entry_point:dependencyA_entry
```
I need to redefine the dependencyA_entry inside packageA. i.e.
```pyproject.toml
[project.scripts]
dependencyA_entry = "dependencyA.entrypoint:main"
```

Expected behavior:
entry points are discovered automatically (i.e. through importlib.metadata.entry_points()), without duplicating them in client packages.

0 REPLIES 0
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!