gustaf.helpers.options.Option#
- class gustaf.helpers.options.Option(backends, key, description, allowed_types, default=None)[source]#
Bases:
object
Minimal Class to hold each options. Mainly to replace nested dict.
- Parameters:
backends (set) – set of strings.
key (str)
description (str)
allowed_types (set) – set of types
default (one of allwed_types) – Optional. Default is None
Methods
Attributes