MCPcopy Index your code

hub / github.com/fivetran/great_expectations / functions

Functions4,558 in github.com/fivetran/great_expectations

↓ 1,393 callersMethodget
(self, key)
great_expectations/data_context/store/store.py:116
↓ 181 callersFunctionfile_relative_path
This function is useful when one needs to load a file that is relative to the position of the current file. (Such as when you encode a co
great_expectations/data_context/util.py:244
↓ 168 callersMethodpop
(self, last=True)
great_expectations/marshmallow__shade/orderedset.py:66
↓ 157 callersMethodload
Deserialize a data structure to an object defined by this Schema's fields. :param data: The data to deserialize. :param many: Whether
great_expectations/marshmallow__shade/schema.py:704
↓ 137 callersFunctionassert_no_logging_messages_or_tracebacks
Use this assertion in all CLI tests unless you have a very good reason. Without this assertion, it is easy to let errors and tracebacks bubb
tests/cli/utils.py:24
↓ 132 callersFunctioncli_message
(string)
great_expectations/cli/util.py:22
↓ 130 callersMethodget_expectation_suite
Returns _expectation_config as a JSON object, and perform some cleaning along the way. Args: discard_failed_expectations (boolean
great_expectations/validator/validator.py:793
↓ 122 callersMethoddumps
Same as :meth:`dump`, except return a JSON-encoded string. :param obj: The object to serialize. :param many: Whether to serialize `ob
great_expectations/marshmallow__shade/schema.py:571
↓ 114 callersMethodto_json_dict
(self)
great_expectations/core/batch.py:44
↓ 102 callersMethodupdate
( self, other_config: Optional["CheckpointConfig"] = None, runtime_kwargs: Optional[di
great_expectations/data_context/types/base.py:1678
↓ 94 callersFunctioninstantiate_class_from_config
Build a GE class from configuration dictionaries.
great_expectations/data_context/util.py:33
↓ 86 callersMethodcreate_expectation_suite
Build a new expectation suite and save it into the data_context expectation store. Args: expectation_suite_name: The name of the
great_expectations/data_context/data_context.py:1922
↓ 82 callersMethodset
(self, key, value)
great_expectations/data_context/store/store.py:127
↓ 80 callersMethodresolve_metrics
resolve_metrics is the main entrypoint for an execution engine. The execution engine will compute the value of the provided metrics.
great_expectations/execution_engine/execution_engine.py:176
↓ 76 callersMethodget_batch_definition_list_from_batch_request
( self, batch_request: BatchRequest, )
great_expectations/datasource/data_connector/data_connector.py:165
↓ 76 callersMethodrender
(self, input)
tests/test_plugins/fake_actions.py:2
↓ 71 callersMethodadd_datasource
( self, name, **kwargs )
great_expectations/data_context/data_context.py:3434
↓ 71 callersFunctionnum_to_str
Convert the given float to a string, centralizing standards for precision and decisions about scientific notation. Adds an approximately equal sig
great_expectations/render/util.py:19
↓ 70 callersMethodvalidate
(self, item_to_validate: Any)
great_expectations/profile/base.py:221
↓ 66 callersMethodget_compute_domain
get_compute_domain computes the optimal domain_kwargs for computing metrics based on the given domain_kwargs and specific engine semantics.
great_expectations/execution_engine/execution_engine.py:276
↓ 64 callersMethoddump
(self, data, stream=None, **kw)
great_expectations/cli/toolkit.py:44
↓ 64 callersFunctionfilter_properties_dict
Filter the entries of the source dictionary according to directives concerning the existing keys and values. Args: properties: source dic
great_expectations/util.py:827
↓ 62 callersMethodlist_keys
(self, prefix=())
tests/test_fixtures/upgrade_helper/great_expectations_v10_project/plugins/custom_store_backends/my_custom_store_backend.py:36
↓ 62 callersFunctionsend_usage_message
send a usage statistics message.
great_expectations/core/usage_statistics/usage_statistics.py:405
↓ 62 callersMethodupdate
(self, value)
great_expectations/execution_engine/execution_engine.py:28
↓ 60 callersMethodget_batch
Get a batch of data from the datasource. Args: batch_kwargs: the BatchKwargs to use to construct the batch batch_para
great_expectations/datasource/datasource.py:329
↓ 60 callersMethodlist_datasources
List currently-configured datasources on this context. Masks passwords. Returns: List(dict): each dictionary includes "name", "cl
great_expectations/data_context/data_context.py:1848
↓ 59 callersFunctionsubstitute_none_for_missing
Utility function to plug Nones in when optional parameters are not specified in expectation kwargs. Example: Input: kwargs={"
great_expectations/render/util.py:115
↓ 53 callersMethodtest_yaml_config
Convenience method for testing yaml configs test_yaml_config is a convenience method for configuring the moving parts of a Great Expe
great_expectations/data_context/data_context.py:2957
↓ 48 callersMethodexpect_column_parameterized_distribution_ks_test_p_value_to_be_greater_than
Expect the column values to be distributed similarly to a scipy distribution. \ This expectation compares the provided column to the
great_expectations/dataset/dataset.py:2215
↓ 48 callersMethodget_batch_data
Interprets batch_data and returns the appropriate data. This method is primarily useful for utility cases (e.g. testing) where data i
great_expectations/execution_engine/execution_engine.py:142
↓ 48 callersFunctionparse_row_condition_string_pandas_engine
(condition_string)
great_expectations/render/util.py:137
↓ 45 callersMethodbuild_batch_kwargs
( self, batch_kwargs_generator, data_asset_name=None, partition_id=None, **kwargs )
great_expectations/datasource/datasource.py:383
↓ 44 callersMethodprofile
(self, item_to_profile: Any, suite_name: str = None)
great_expectations/profile/base.py:224
↓ 41 callersFunctioncreate_files_in_directory
( directory: str, file_name_list: List[str], file_content_fn=lambda: "x,y\n1,2\n2,3" )
tests/test_utils.py:1420
↓ 41 callersMethodsave_expectation_suite
Writes ``_expectation_config`` to a JSON file. Writes the DataAsset's expectation config to the specified JSON ``filepath``. Failing expec
great_expectations/validator/validator.py:898
↓ 41 callersMethodset_default_expectation_argument
Set a default expectation argument for this data_asset Args: argument (string): The argument to be replaced
great_expectations/validator/validator.py:751
↓ 39 callersMethodget_available_data_asset_names
Returns a dictionary of data_asset_names that the specified batch kwarg generator can provide. Note that some batch kwargs generators
great_expectations/datasource/datasource.py:344
↓ 38 callersMethodlist_expectation_suite_names
Lists the available expectation suite names
great_expectations/data_context/data_context.py:1991
↓ 38 callersMethodloads
Same as :meth:`load`, except it takes a JSON string as input. :param json_data: A JSON string of the data to deserialize. :param many
great_expectations/marshmallow__shade/schema.py:739
↓ 38 callersMethodself_check
(self, pretty_print)
great_expectations/data_context/store/store.py:152
↓ 36 callersMethod_convert_key_to_filepath
(self, key)
great_expectations/data_context/store/tuple_store_backend.py:99
↓ 36 callersFunctionget_sql_dialect_floating_point_infinity_value
( schema: str, negative: bool = False )
great_expectations/dataset/util.py:43
↓ 36 callersFunctionget_sql_dialect_floating_point_infinity_value
( schema: str, negative: bool = False )
great_expectations/expectations/metrics/util.py:85
↓ 36 callersMethodisEquivalentTo
ExpectationSuite equivalence relies only on expectations and evaluation parameters. It does not include: - data_asset_name -
great_expectations/core/expectation_suite.py:102
↓ 36 callersMethodto_json_dict
(self)
great_expectations/render/types/__init__.py:365
↓ 35 callersMethodpatch
Args: op: A jsonpatch operation. One of 'add', 'replace', or 'remove' path: A jsonpatch path for the patch operation
great_expectations/core/expectation_configuration.py:839
↓ 34 callersFunctionconvert_to_json_serializable
Helper function to convert an object to one that is json serializable Args: data: an object to attempt to convert a corresponding jso
great_expectations/core/util.py:68
↓ 34 callersFunctiongen_directory_tree_str
Print the structure of directory as a tree: Ex: project_dir0/ AAA/ BBB/ aaa.txt bbb.txt #Note: f
great_expectations/util.py:774
↓ 34 callersMethodget_config
(self, format="dict")
great_expectations/checkpoint/checkpoint.py:577
↓ 33 callersMethodrun
(self)
versioneer.py:1678
↓ 32 callersMethodlist_expectation_suites
Return a list of available expectation suite names.
great_expectations/data_context/data_context.py:1838
↓ 32 callersMethodmask_db_url
Mask password in database url. Uses sqlalchemy engine parsing if sqlalchemy is installed, otherwise defaults to using urlparse from t
great_expectations/data_context/util.py:303
↓ 31 callersFunctionget_renderer_impl
(object_name, renderer_type)
great_expectations/expectations/registry.py:66
↓ 30 callersMethodlist_checkpoints
(self)
great_expectations/data_context/data_context.py:2900
↓ 29 callersMethodcreate
Build a new great_expectations directory and DataContext object in the provided project_root_dir. `create` will not create a new "gr
great_expectations/data_context/data_context.py:3204
↓ 29 callersMethodlist_validation_results
( self, group_by=None )
great_expectations/checkpoint/types/checkpoint_result.py:149
↓ 29 callersMethodmake_error
Helper method to make a `ValidationError` with an error message from ``self.error_messages``.
great_expectations/marshmallow__shade/fields.py:242
↓ 29 callersMethodremove_expectation
This method is a thin wrapper for ExpectationSuite.remove()
great_expectations/validator/validator.py:649
↓ 28 callersMethodbuild
:param resource_identifiers: a list of resource identifiers (ExpectationSuiteIdentifier, ValidationResul
great_expectations/render/renderer/site_builder.py:272
↓ 28 callersMethodrun_diagnostics
Produce a diagnostic report about this expectation. The current uses for this method's output are using the JSON structure to
great_expectations/expectations/expectation.py:694
↓ 27 callersMethodget_validator
This method applies only to the new (V3) Datasource schema.
great_expectations/data_context/data_context.py:1550
↓ 25 callersMethodanonymize
(self, string_)
great_expectations/core/usage_statistics/anonymizers/anonymizer.py:27
↓ 25 callersMethodget_datasource
Get the named datasource Args: datasource_name (str): the name of the datasource from the configuration Returns:
great_expectations/data_context/data_context.py:1803
↓ 25 callersMethodget_docs_sites_urls
Get URLs for a resource for all data docs sites. This function will return URLs for any configured site even if the sites ha
great_expectations/data_context/data_context.py:594
↓ 25 callersMethodget_table_columns
Returns: List[str], list of column names
great_expectations/dataset/dataset.py:260
↓ 25 callersMethodrun_validation_operator
Run a validation operator to validate data assets and to perform the business logic around validation that the operator implements.
great_expectations/data_context/data_context.py:1233
↓ 24 callersMethodescape_all_config_variables
Replace all `$` characters with the DOLLAR_SIGN_ESCAPE_STRING Args: value: config variable value dollar_sign
great_expectations/data_context/data_context.py:871
↓ 24 callersMethodexpect_column_values_to_be_between
Expect column entries to be between a minimum value and a maximum value (inclusive). expect_column_values_to_be_between is a \ :func:
great_expectations/dataset/dataset.py:1421
↓ 24 callersFunctionregister_metric
( metric_name: str, metric_domain_keys: Tuple[str, ...], metric_value_keys: Tuple[str, ...], e
great_expectations/expectations/registry.py:95
↓ 24 callersMethodrendered_content_list_to_json
(cls, list_, check_dicts=False)
great_expectations/render/types/__init__.py:19
↓ 23 callersMethodprofile_datasource
Profile the named datasource using the named profiler. Args: datasource_name: the name of the datasource for which to profile dat
great_expectations/data_context/data_context.py:2350
↓ 23 callersMethodto_id
(self, id_keys=None, id_ignore_keys=None)
great_expectations/core/id_dict.py:8
↓ 22 callersMethod_format_map_output
Helper function to construct expectation result objects for map_expectations (such as column_map_expectation and file_lines_map_expectation).
great_expectations/data_asset/data_asset.py:1078
↓ 22 callersMethoddump
(self, data, stream=None, **kw)
great_expectations/data_context/templates.py:15
↓ 22 callersMethodexpect_column_values_to_be_in_set
( self, column, value_set, mostly=None, parse_strings_as_datetimes=Non
great_expectations/dataset/pandas_dataset.py:1104
↓ 22 callersFunctionload_class
(class_name: str, module_name: str)
great_expectations/util.py:224
↓ 22 callersFunctionnested_update
update d with items from u, recursively and joining elements
great_expectations/core/util.py:37
↓ 21 callersMethodexpectation_kwarg_dict_to_ge_kwargs
(self, kwarg_dict)
great_expectations/jupyter_ux/expectation_explorer.py:269
↓ 21 callersMethodget_success_kwargs
( self, configuration: Optional[ExpectationConfiguration] = None )
great_expectations/expectations/expectation.py:575
↓ 20 callersMethodexpect_column_mean_to_be_between
Expect the column mean to be between a minimum value and a maximum value (inclusive). expect_column_mean_to_be_between is a \ :func:`
great_expectations/dataset/dataset.py:2598
↓ 20 callersMethodfrom_tuple
(cls, tuple_)
great_expectations/core/metric.py:81
↓ 20 callersFunctionget_dataset
Utility to create datasets for json-formatted tests.
tests/test_utils.py:248
↓ 19 callersMethod__init__
(self, message)
great_expectations/exceptions/exceptions.py:353
↓ 19 callersMethod__init__
( self, *, relative: bool = False, schemes: types.StrSequenceOrSet = None,
great_expectations/marshmallow__shade/fields.py:1585
↓ 19 callersMethodget_checkpoint
(self, name: str)
great_expectations/data_context/data_context.py:2845
↓ 19 callersFunctionverify_dynamic_loading_support
:param module_name: a possibly-relative name of a module :param package_name: the name of a package, to which the given module belongs
great_expectations/util.py:183
↓ 19 callersMethodyield_batch_kwargs
(self, data_asset_name=None, generator_asset=None, **kwargs)
great_expectations/datasource/batch_kwargs_generator/batch_kwargs_generator.py:294
↓ 18 callersMethod_calc_map_expectation_success
Calculate success and percent_success for column_map_expectations Args: success_count (int): \ The number of succ
great_expectations/data_asset/data_asset.py:1188
↓ 18 callersMethodexpect_column_values_to_be_in_type_list
Expect a column to contain values from a specified type list. expect_column_values_to_be_in_type_list is a :func:`column_aggregate_expectatio
great_expectations/dataset/dataset.py:1195
↓ 18 callersMethodload_batch_data
Loads the specified batch_data into the execution engine
great_expectations/execution_engine/execution_engine.py:162
↓ 17 callersFunctionbatch_definition_matches_batch_request
( batch_definition: BatchDefinition, batch_request: BatchRequestBase, )
great_expectations/datasource/data_connector/util.py:42
↓ 17 callersMethodget_iterator
(self, generator_asset=None, data_asset_name=None, **kwargs)
great_expectations/datasource/batch_kwargs_generator/batch_kwargs_generator.py:226
↓ 17 callersFunctionget_metric_kwargs
( metric_name: str, configuration: Optional["ExpectationConfiguration"] = None, runtime_configurat
great_expectations/expectations/registry.py:196
↓ 17 callersFunctionresource_key_passes_run_name_filter
(resource_key, run_name_filter)
great_expectations/render/util.py:81
↓ 17 callersFunctionsubstitute_config_variable
This method takes a string, and if it contains a pattern ${SOME_VARIABLE} or $SOME_VARIABLE, returns a string where the pattern is replaced w
great_expectations/data_context/util.py:150
↓ 16 callersMethodexpect_column_values_to_be_in_set
Expect each column value to be in a given set. For example: :: # my_df.my_col = [1,2,2,3,3,3] >>> my_df.expe
great_expectations/dataset/dataset.py:1265
↓ 16 callersMethodget_config_with_variables_substituted
(self, config=None)
great_expectations/data_context/data_context.py:848
↓ 16 callersMethodsave_config_variable
r"""Save config variable value Escapes $ unless they are used in substitution variables e.g. the $ characters in ${SOME_VAR} or $SOME_VAR are
great_expectations/data_context/data_context.py:912
↓ 16 callersMethodto_tuple
(self)
great_expectations/data_context/types/resource_identifiers.py:79
next →1–100 of 4,558, ranked by callers