|
36 | 36 | "target_shells": "shell_support_pattern", |
37 | 37 | "templates": None, |
38 | 38 | "validators": None, |
| 39 | + "object_variables": None, |
39 | 40 | # Application specific: |
40 | 41 | "workloads": None, |
41 | 42 | "workload_groups": None, |
|
50 | 51 | "executable_modifiers": None, |
51 | 52 | "env_var_modifications": None, |
52 | 53 | "required_vars": None, |
53 | | - "modifier_variables": None, |
54 | 54 | "package_manager_requirements": None, |
55 | | - # Package manager specific: |
56 | | - "package_manager_variables": None, |
57 | | - # Workflow manager specific: |
58 | | - "workflow_manager_variables": "wm_vars", |
59 | 55 | } |
60 | 56 |
|
61 | 57 |
|
@@ -181,7 +177,7 @@ def _unpack_when_set_if_needed(internal_attr: dict): |
181 | 177 |
|
182 | 178 |
|
183 | 179 | def _print_nonverbose_list_attr(internal_attr, pattern="*", format=supported_formats.text): |
184 | | - to_print = fnmatch.filter(internal_attr, pattern) |
| 180 | + to_print = fnmatch.filter(map(str, internal_attr), pattern) |
185 | 181 | if format == supported_formats.lists: |
186 | 182 | color.cprint(" " + str(list(to_print))) |
187 | 183 | elif format == supported_formats.text: |
@@ -324,7 +320,7 @@ def print_single_attribute(obj, attr, verbose=False, pattern="*", format=support |
324 | 320 | _print_verbose_dict_attr(internal_attr, pattern=pattern, indentation=indentation) |
325 | 321 | # If the attribute is not a dict, print using the existing format rules. |
326 | 322 | elif isinstance(internal_attr, list): |
327 | | - to_print = fnmatch.filter(internal_attr, pattern) |
| 323 | + to_print = fnmatch.filter(map(str, internal_attr), pattern) |
328 | 324 | if format == supported_formats.lists: |
329 | 325 | color.cprint(" " + str(list(to_print))) |
330 | 326 | elif format == supported_formats.text: |
|
0 commit comments