Clayton Casey
05/23/2023, 9:57 PMowen
05/23/2023, 11:02 PMuniversal
a package and install it into your environment with pip install -e universal
. Then, you can import from this package with from universal.resources import dbconnection
.
This blog post talks a bit more about how to do that.Clayton Casey
05/24/2023, 8:26 PMClayton Casey
05/25/2023, 7:00 PMload_from:
- python_package: dag-collection-recommender
- python_package: dag-hubspot
- python_package: dag-another-marketing-project
When I try to introduce another layer of organization (i.e. business function directories for my dag projects to sit in) I start running into errors.
Example tree:
code-locations
├───collections
│ └───dag-collection-recommender
└───marketing
├───dag-another-marketing-project
└───dag-hubspot
New workspace.yaml
load_from:
- python_package: collections.dag-collection-recommender
I've tried using
code-locations.collections.dag-collection-recommender
code-lcoations\collections\dag-collection-recommender
collections.dag-collection-recommender.
Example errors.
The above exception was caused by the following exception:
ModuleNotFoundError: No module named 'collections.dag-collection-recommender'
Any recommendations on how to reference my package as a code location correctly?Ahmed Elsagheer
08/07/2023, 10:53 AM