bayesflow.default_settings module#

class bayesflow.default_settings.Setting[source]#

Bases: ABC

Abstract base class for settings. It’s here to potentially extend the setting functionality in future.

abstract __init__()[source]#
class bayesflow.default_settings.MetaDictSetting(meta_dict: dict, mandatory_fields: list = [])[source]#

Bases: Setting

Implements an interface for a default meta_dict with optional mandatory fields.

__init__(meta_dict: dict, mandatory_fields: list = [])[source]#

Default dictionary.

mandatory_fieldslist, default: []

List of keys in meta_dict that need to be provided by the user.