rafael fernandes
11/09/2023, 1:13 PMmodel_config['protected_namespaces'] = ().
warnings.warn(
/home/rafaelgf/.local/lib/python3.9/site-packages/pydantic/_internal/_fields.py128 UserWarning: Field "model_runs" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/rafaelgf/.local/lib/python3.9/site-packages/pydantic/_internal/_fields.py128 UserWarning: Field "model_unique_id" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/rafaelgf/.local/lib/python3.9/site-packages/pydantic/_internal/_fields.py128 UserWarning: Field "model_name" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
Traceback (most recent call last):
File "/usr/local/bin/edr", line 5, in module
from elementary.cli.cli import cli
File "/usr/local/lib/python3.9/dist-packages/elementary/cli/cli.py", line 9, in module
from elementary.monitor.cli import monitor, report, send_report
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/cli.py", line 9, in module
from elementary.monitor.data_monitoring.report.data_monitoring_report import (
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/data_monitoring/report/data_monitoring_report.py", line 14, in module
from elementary.monitor.api.report.report import ReportAPI
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/api/report/report.py", line 5, in module
from elementary.monitor.api.filters.filters import FiltersAPI
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/api/filters/filters.py", line 5, in module
from elementary.monitor.api.models.schema import (
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/api/models/schema.py", line 40, in module
class NormalizedModelSchema(NormalizedArtifactSchema, ModelSchema):
File "/usr/local/lib/python3.9/dist-packages/elementary/monitor/api/models/schema.py", line 41, in NormalizedModelSchema
artifact_type: str = Field("model", const=True)
File "/home/rafaelgf/.local/lib/python3.9/site-packages/pydantic/fields.py", line 763, in Field
raise PydanticUserError('`const` is removed, use Literal instead', code='removed-kwargs')
pydantic.errors.PydanticUserError: const is removed, use Literal instead
For further information visit https://errors.pydantic.dev/2.4/u/removed-kwargs
-----
Elementary version:
Name: elementary-data
Version: 0.12.0
Summary: Data monitoring and lineage
Home-page: https://www.elementary-data.com
Author: Elementary
Author-email: None
License: Apache-2.0
Location: /home/airflow/dbt-env/lib/python3.9/site-packages
Requires: boto3, alive-progress, ruamel.yaml, beautifulsoup4, pytest-parametrization, requests, slack-sdk, azure-storage-blob, ratelimit, dbt-core, networkx, google-cloud-storage, packaging, posthog, pyfiglet, click, pydantic
Required-by:
Pydantic Version:
Name: pydantic
Version: 1.10.13
Summary: Data validation and settings management using python type hints
Home-page: https://github.com/pydantic/pydantic
Author: Samuel Colvin
Author-email: s@muelcolvin.com
License: MIT
Location: /home/airflow/dbt-env/lib/python3.9/site-packages
Requires: typing-extensions
Required-by: elementary-data, dbt-semantic-interfaces
DBT-CORE Version:
Name: dbt-core
Version: 1.7.1
Summary: With dbt, data analysts and engineers can build analytics the way engineers build applications.
Home-page: https://github.com/dbt-labs/dbt-core
Author: dbt Labs
Author-email: info@dbtlabs.com
License: None
Location: /home/airflow/dbt-env/lib/python3.9/site-packages
Requires: isodate, logbook, click, agate, cffi, jsonschema, dbt-semantic-interfaces, Jinja2, protobuf, colorama, mashumaro, typing-extensions, idna, urllib3, pyyaml, pytz, networkx, packaging, dbt-extractor, pathspec, requests, sqlparse, minimal-snowplow-tracker
Required-by: elementary-data, dbt-bigqueryIdan Shavit
11/09/2023, 2:57 PMrafael fernandes
11/14/2023, 7:08 PMrafael fernandes
11/14/2023, 7:09 PMrafael fernandes
11/14/2023, 7:10 PMOfek Weiss
01/07/2024, 3:11 PMdbt in (/usr/local/lib/python3.9/dist-packages) and the environment you check your package versions in (/home/airflow/dbt-env/lib/python3.9/site-packages). why is that?