|
6 | 6 | import sys |
7 | 7 | import urllib.error |
8 | 8 | import urllib.parse |
9 | | -from urllib.parse import urlparse |
10 | 9 | import urllib.request |
11 | 10 | from collections.abc import MutableMapping, MutableSequence |
12 | 11 | from copy import deepcopy |
13 | 12 | from io import StringIO |
14 | | -from typing import Any, Optional, Union, Dict, List |
| 13 | +from typing import Any, Dict, List, Optional, Union |
| 14 | +from urllib.parse import urlparse |
15 | 15 |
|
16 | 16 | from ruamel.yaml.main import YAML |
17 | 17 | from ruamel.yaml.parser import ParserError |
|
24 | 24 | from cwl_utils.parser import InputRecordSchemaTypes |
25 | 25 |
|
26 | 26 | # Load as 1.2 files |
27 | | -from cwl_utils.parser.cwl_v1_2 import InputEnumSchema as InputEnumSchemaV1_2 |
28 | 27 | from cwl_utils.parser.cwl_v1_2 import InputArraySchema as InputArraySchemaV1_2 |
| 28 | +from cwl_utils.parser.cwl_v1_2 import InputEnumSchema as InputEnumSchemaV1_2 |
29 | 29 |
|
30 | 30 | fast_yaml = YAML(typ="safe") |
31 | 31 |
|
@@ -260,7 +260,7 @@ def to_pascal_case(name: str) -> str: |
260 | 260 |
|
261 | 261 |
|
262 | 262 | def sanitise_schema_field( |
263 | | - schema_field_item: Union[Dict[str, Any], str] |
| 263 | + schema_field_item: Union[Dict[str, Any], str], |
264 | 264 | ) -> Union[Dict[str, Any], str]: |
265 | 265 | """ |
266 | 266 | Schemas need to be resolved before converted to JSON properties. |
|
0 commit comments