dcase_util.containers.ContainerMixin

class dcase_util.containers.ContainerMixin(*args, **kwargs)[source]

Container mixin to give class basic container methods.

__init__(*args, **kwargs)[source]

Methods

__init__(*args, **kwargs)

log([level])

Log container content

show([mode, indent, visualize])

Print container content

to_html([indent])

Get container information in a HTML formatted string

to_string([ui, indent])

Get container information in a string

Attributes

logger

Logger instance