Make c4k_mixin_config parameters non-optional

This commit is contained in:
bom 2022-12-22 22:31:46 +01:00
parent ddd00f6510
commit a803d022d9

View file

@ -5,15 +5,9 @@ from .python_util import *
from .devops_build import DevopsBuild from .devops_build import DevopsBuild
def add_c4k_mixin_config(config, def add_c4k_mixin_config(config,
c4k_module_name=None, c4k_module_name,
c4k_config_dict=None, c4k_config_dict,
c4k_auth_dict=None): c4k_auth_dict):
if c4k_module_name == None:
c4k_module_name = 'NO_MODULE'
if c4k_config_dict == None:
c4k_config_dict = {}
if c4k_auth_dict == None:
c4k_auth_dict = {}
config.update({'C4kMixin': {'Config': c4k_config_dict, config.update({'C4kMixin': {'Config': c4k_config_dict,
'Auth': c4k_auth_dict, 'Auth': c4k_auth_dict,