openlineage-python 1.15.0__tar.gz → 1.16.0__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.
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/PKG-INFO +1 -1
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/constants.py +1 -1
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/http.py +7 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/pyproject.toml +1 -1
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/.gitignore +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/README.md +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/Makefile +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/conf.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/convert.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/index.rst +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/make.bat +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/release-api-reference.sh +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/docs/source/openlineage.client.rst +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/__init__.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/client.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/event_v2.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/facet.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/facet_v2.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/filter.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/base.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/column_lineage_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/data_quality_assertions_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/data_quality_metrics_input_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/dataset_version_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/datasource_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/documentation_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/documentation_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/error_message_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/external_query_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/extraction_error_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/job_type_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/lifecycle_state_change_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/nominal_time_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/output_statistics_output_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/ownership_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/ownership_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/parent_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/processing_engine_run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/schema_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/source_code_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/source_code_location_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/sql_job.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/storage_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/symlinks_dataset.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/py.typed +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/run.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/serde.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/__init__.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/console.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/factory.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/file.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/kafka.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/msk_iam.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/noop.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/transport.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/utils.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/uuid.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/redact_fields.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/__init__.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/config/config.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/config/exact_filter.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/config/http.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/config/openlineage.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/config/regex_filter.yml +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/conftest.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/example_full_event.json +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/nominal_time_without_end.json +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/serde_example_dataset_event.json +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/serde_example_job_event.json +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/serde_example_run_event.json +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_client.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_events.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_facet.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_facet_v2.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_factory.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_file.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_http.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_kafka.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_msk_iam.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_utils.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/test_uuid.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/transport.py +0 -0
- {openlineage_python-1.15.0 → openlineage_python-1.16.0}/tox.ini +0 -0
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/http.py
RENAMED
|
@@ -16,6 +16,8 @@ if TYPE_CHECKING:
|
|
|
16
16
|
from openlineage.client.client import Event, OpenLineageClientOptions
|
|
17
17
|
from requests.adapters import HTTPAdapter, Response
|
|
18
18
|
|
|
19
|
+
import http.client as http_client
|
|
20
|
+
|
|
19
21
|
from openlineage.client.serde import Serde
|
|
20
22
|
from openlineage.client.transport.transport import Config, Transport
|
|
21
23
|
from openlineage.client.utils import get_only_specified_fields, try_import_from_string
|
|
@@ -160,6 +162,10 @@ class HttpTransport(Transport):
|
|
|
160
162
|
self.session.mount(self.url, adapter)
|
|
161
163
|
|
|
162
164
|
def emit(self, event: Event) -> Response:
|
|
165
|
+
# If anyone overrides debuglevel manually, we can potentially leak secrets to logs.
|
|
166
|
+
# Override this setting to make sure it does not happen.
|
|
167
|
+
prev_debuglevel = http_client.HTTPConnection.debuglevel
|
|
168
|
+
http_client.HTTPConnection.debuglevel = 0
|
|
163
169
|
body, headers = self._prepare_request(Serde.to_json(event))
|
|
164
170
|
|
|
165
171
|
if self.session:
|
|
@@ -182,6 +188,7 @@ class HttpTransport(Transport):
|
|
|
182
188
|
verify=self.verify,
|
|
183
189
|
)
|
|
184
190
|
resp.close()
|
|
191
|
+
http_client.HTTPConnection.debuglevel = prev_debuglevel
|
|
185
192
|
resp.raise_for_status()
|
|
186
193
|
return resp
|
|
187
194
|
|
|
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
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/base.py
RENAMED
|
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
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/job_type_job.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/parent_run.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/generated/sql_job.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/__init__.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/console.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/factory.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/file.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/kafka.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/msk_iam.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/noop.py
RENAMED
|
File without changes
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/openlineage/client/transport/transport.py
RENAMED
|
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
|
{openlineage_python-1.15.0 → openlineage_python-1.16.0}/tests/serde_example_dataset_event.json
RENAMED
|
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
|