databrickslabs / blueprint

Baseline for Databricks Labs projects written in Python
https://pypi.org/project/databricks-labs-blueprint/
Other
19 stars 8 forks source link

Project built using Blueprint cannot function as standalone python applications #46

Closed nsenno-dbr closed 7 months ago

nsenno-dbr commented 8 months ago

When attempting to run the Python API of a project built using Blueprint, there is an error associated when initializing the logger. Specifically, it is unable to find the project root.

Python applications extending the blueprint library should be able to run without explicitly having a project root. Note this is run on databricks-labs-remorph==0.2.1 with databricks-labs-blueprint==0.1.0

image

nsenno-dbr commented 8 months ago

This issue may be solved by https://github.com/databrickslabs/blueprint/pull/43

nfx commented 7 months ago

Use logging.getLogger(name) for non-installer files