otupy.apps.ctxd.discovery.set_defaults
- set_defaults(config, type_, param)
Sets default values
Checks if input parameters have value, and assign a default value in case no value was provided.
- Parameters:
config – The dictionary with input config parameter.
type – The group to which the parameter belongs (check defaults). There might be parameters with the same name under different stanzas.
param – The name of the parameter.
- Returns:
The value to be assigned to the parameter.