fix config parsing in manifests

This commit is contained in:
erinhmclark
2025-01-24 13:24:54 +00:00
parent aa7ca93a43
commit 0453d95f56
10 changed files with 20 additions and 12 deletions

View File

@@ -53,4 +53,11 @@ def update_nested_dict(dictionary, update_dict):
def random_str(length: int = 32) -> str:
assert length <= 32, "length must be less than 32 as UUID4 is used"
return str(uuid.uuid4()).replace("-", "")[:length]
return str(uuid.uuid4()).replace("-", "")[:length]
def parse_csv_to_set(cli_val, cur_val):
return set(cli_val.split(","))
def json_loader(cli_val):
return json.loads(cli_val)