from_dict#

classmethod LoggingConfig.from_dict(d: Dict[str, object]) → LoggingConfig[source]#

Create a LoggingConfig from a dict, ignoring unknown keys.

Parameters:

d (Dict[str, object]) – A dict that maps field names to values, such as the output of to_dict().

Returns:

A LoggingConfig built from the keys of d that match a field.

Return type:

LoggingConfig