great_expectations
great_expectations copied to clipboard
Please don't turn on DeprecationWarnings
https://github.com/great-expectations/great_expectations/blob/develop/great_expectations/expectations/metrics/meta_metric_provider.py#L27
Turning on DeprecationWarnings like this overrides any settings we already have.
Our current workaround is:
import warnings
filters = list(warnings.filters)
from great_expectations.data_context.types.base import DataContextConfig
from great_expectations.data_context import BaseDataContext
from great_expectations.core.batch import RuntimeBatchRequest
warnings.filters = filters
Hi @jobevers and @dtomlinson91, this is unfortunate that this is overriding your project level settings. We will look into more consistent usage of logger methods and replacing use of the warnings module. We will be in touch.