great_expectations.types.base

Module Contents

Classes

DotDict()

This class provides dot.notation access to dictionary attributes.

SerializableDotDict()

Analogously to the way “SerializableDictDot” extends “DictDot” to provide JSON serialization, the present class,

great_expectations.types.base.logger
great_expectations.types.base.yaml
class great_expectations.types.base.DotDict

Bases: dict

This class provides dot.notation access to dictionary attributes.

It is also serializable by the ruamel.yaml library used in Great Expectations for managing configuration objects.

__setattr__
__delattr__
_yaml_merge = []
__getattr__(self, item)
__dir__(self)

Default dir() implementation.

__deepcopy__(self, memo)
classmethod yaml_anchor(cls)
classmethod to_yaml(cls, representer, node)

Use dict representation for DotDict (and subtypes by default)

class great_expectations.types.base.SerializableDotDict

Bases: great_expectations.types.base.DotDict

Analogously to the way “SerializableDictDot” extends “DictDot” to provide JSON serialization, the present class, “SerializableDotDict” extends “DotDict” to provide JSON-serializable version of the “DotDict” class as well. Since “DotDict” is already YAML-serializable, “SerializableDotDict” is both YAML-serializable and JSON-serializable.

abstract to_json_dict(self)