axon_synthesis.cli.utils¶
Some utils for the CLI of axon-synthesis.
Functions
|
Set parameter default values according to a given configuration file. |
Classes
|
A click parameter to process parameters given as JSON objects. |
|
Class to store global configuration. |
|
A click parameter to process parameters given as JSON arrays. |
- class axon_synthesis.cli.utils.DictParam(*args, schema=None, **kwargs)¶
Bases:
ParamTypeA click parameter to process parameters given as JSON objects.
- convert(value, param, ctx)¶
Convert a given value.
- class axon_synthesis.cli.utils.GlobalConfig(*, debug=False, seed=None)¶
Bases:
objectClass to store global configuration.
- to_config(config)¶
Copy internal attributes in the given dictionary.