(arg)
| 104 | |
| 105 | |
| 106 | def validate_id_string(arg): |
| 107 | arg_id = arg.component_id |
| 108 | |
| 109 | invalid_chars = ".{" |
| 110 | invalid_found = [x for x in invalid_chars if x in arg_id] |
| 111 | if invalid_found: |
| 112 | raise exceptions.InvalidComponentIdError( |
| 113 | f""" |
| 114 | The element `{arg_id}` contains `{"`, `".join(invalid_found)}` in its ID. |
| 115 | Characters `{"`, `".join(invalid_chars)}` are not allowed in IDs. |
| 116 | """ |
| 117 | ) |
| 118 | |
| 119 | |
| 120 | def validate_output_spec(output, output_spec, Output): |
no outgoing calls
no test coverage detected
searching dependent graphs…