Table of Contents
MetadataWriter Objects
class MetadataWriter()
Class for writing metadata to disk
Parameters
output_path : str
Prefix of where to output files. A directory for type = 'local'
,
or key prefix for type = 's3'
path_template : str, optional
Templatized path output using standard python string templates.
Variables are accessed via $identifier or ${identifier}.
See :func:MetadataWriter.template_params
for a list of available
identifers.
Default = :data:DEFAULT_PATH_TEMPLATE
path_suffix
| path_suffix(name) -> str
Generate a path string for an output path from the given arguments by
applying the path templating defined in self.path_template
metadata_from_config
metadata_from_config(config: MetadataConfig)
Construct a whylogs MetadataWriter
from a MetadataConfig
Returns
metadata_writer: MetadataWriter whylogs metadata writer