great_expectations.data_context.templates

Module Contents

Classes

YAMLToString(: Any, _kw: Optional[Text] = enforce, typ: Any = None, pure: Any = False, output: Any = None, plug_ins=None)

Get yaml dump as a string: https://yaml.readthedocs.io/en/latest/example.html#output-of-dump-as-a-string

class great_expectations.data_context.templates.YAMLToString(: Any, _kw: Optional[Text] = enforce, typ: Any = None, pure: Any = False, output: Any = None, plug_ins=None)

Bases: ruamel.yaml.YAML

Get yaml dump as a string: https://yaml.readthedocs.io/en/latest/example.html#output-of-dump-as-a-string

dump(self, data, stream=None, **kw)
great_expectations.data_context.templates.yaml
great_expectations.data_context.templates.default_flow_style = False
great_expectations.data_context.templates.PROJECT_HELP_COMMENT
great_expectations.data_context.templates.CONFIG_VARIABLES_INTRO =

# This config file supports variable substitution which enables: 1) keeping # secrets out of source control & 2) environment-based configuration changes # such as staging vs prod. # # When GE encounters substitution syntax (like my_key: ${my_value} or # my_key: $my_value) in the great_expectations.yml file, it will attempt # to replace the value of my_key with the value from an environment # variable my_value or a corresponding key read from this config file, # which is defined through the config_variables_file_path. # Environment variables take precedence over variables defined here. # # Substitution values defined here can be a simple (non-nested) value, # nested value such as a dictionary, or an environment variable (i.e. ${ENV_VAR}) # # # https://docs.greatexpectations.io/en/latest/guides/how_to_guides/configuring_data_contexts/how_to_use_a_yaml_file_or_environment_variables_to_populate_credentials.html

great_expectations.data_context.templates.CONFIG_VARIABLES_TEMPLATE
great_expectations.data_context.templates.EXPECTATIONS_STORE_STRING
great_expectations.data_context.templates.VALIDATIONS_STORE_STRING
great_expectations.data_context.templates.EVALUATION_PARAMETER_STORE_STRING
great_expectations.data_context.templates.PROJECT_OPTIONAL_CONFIG_COMMENT
great_expectations.data_context.templates.ANONYMIZED_USAGE_STATISTICS_ENABLED =
anonymous_usage_statistics:

enabled: True

great_expectations.data_context.templates.ANONYMIZED_USAGE_STATISTICS_DISABLED =
anonymous_usage_statistics:

enabled: False

great_expectations.data_context.templates.PROJECT_TEMPLATE_USAGE_STATISTICS_ENABLED
great_expectations.data_context.templates.PROJECT_TEMPLATE_USAGE_STATISTICS_DISABLED