great_expectations.cli.util

Module Contents

Functions

verify_library_dependent_modules(python_import_name: str, pip_library_name: str, module_names_to_reload: list = None)

library_install_load_check(python_import_name: str, pip_library_name: str)

Dynamically load a module from strings, attempt a pip install or raise a helpful error.

reload_modules(module_names: list)

great_expectations.cli.util.verify_library_dependent_modules(python_import_name: str, pip_library_name: str, module_names_to_reload: list = None) → bool
great_expectations.cli.util.library_install_load_check(python_import_name: str, pip_library_name: str) → Optional[int]

Dynamically load a module from strings, attempt a pip install or raise a helpful error.

Returns

True if the library was loaded successfully, False otherwise

Parameters
  • pip_library_name – name of the library to load

  • python_import_name (str) – a module to import to verify installation

great_expectations.cli.util.reload_modules(module_names: list) → None