steve-cli 0.3.14__tar.gz → 0.3.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {steve_cli-0.3.14 → steve_cli-0.3.16}/PKG-INFO +1 -1
- {steve_cli-0.3.14 → steve_cli-0.3.16}/pyproject.toml +1 -1
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/collector.py +14 -6
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/PKG-INFO +1 -1
- {steve_cli-0.3.14 → steve_cli-0.3.16}/README.md +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/setup.cfg +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/cli.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/decorators/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/decorators/lineage_job.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/adapters/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/adapters/logging.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/adapters/null.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/adapters/openlineage.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/port.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/registry.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/lineage/storage.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/csv.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/excel.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/generic.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/json.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/extractors/parquet.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/port.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/metadata/registry.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/parquet.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/protocol.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage/s3.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/storage.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/adapters/__init__.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/adapters/great_expectations.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/adapters/null.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/adapters/validoopsie.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/port.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli/validation/registry.py +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/SOURCES.txt +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/dependency_links.txt +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/entry_points.txt +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/requires.txt +0 -0
- {steve_cli-0.3.14 → steve_cli-0.3.16}/steve_cli.egg-info/top_level.txt +0 -0
|
@@ -86,18 +86,26 @@ def make_session(
|
|
|
86
86
|
|
|
87
87
|
port: LineagePort = NullLineageAdapter()
|
|
88
88
|
else:
|
|
89
|
-
url = os.getenv("OPENLINEAGE_URL"
|
|
89
|
+
url = os.getenv("OPENLINEAGE_URL")
|
|
90
90
|
prov = provider or os.getenv("LINEAGE_PROVIDER", "openlineage")
|
|
91
|
-
|
|
92
|
-
try:
|
|
93
|
-
port = LineageRegistry.create(prov, **kwargs)
|
|
94
|
-
except Exception as exc:
|
|
91
|
+
if prov == "openlineage" and not url:
|
|
95
92
|
import logging
|
|
96
93
|
logging.getLogger(__name__).warning(
|
|
97
|
-
"Lineage disabled:
|
|
94
|
+
"Lineage disabled: OPENLINEAGE_URL is not set"
|
|
98
95
|
)
|
|
99
96
|
from .adapters.null import NullLineageAdapter
|
|
100
97
|
|
|
101
98
|
port = NullLineageAdapter()
|
|
99
|
+
else:
|
|
100
|
+
kwargs = {"url": url} if prov == "openlineage" else {}
|
|
101
|
+
try:
|
|
102
|
+
port = LineageRegistry.create(prov, **kwargs)
|
|
103
|
+
except Exception as exc:
|
|
104
|
+
import logging
|
|
105
|
+
logging.getLogger(__name__).warning(
|
|
106
|
+
"Lineage disabled: could not initialize provider %r: %s", prov, exc
|
|
107
|
+
)
|
|
108
|
+
from .adapters.null import NullLineageAdapter
|
|
109
|
+
port = NullLineageAdapter()
|
|
102
110
|
|
|
103
111
|
return LineageSession(namespace=ns, job_name=jn, port=port)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|