|
6 | 6 | from collections.abc import MutableMapping, MutableSequence, Sequence |
7 | 7 | from io import BytesIO |
8 | 8 | from pathlib import PurePath, PurePosixPath |
9 | | -from typing import Any, TYPE_CHECKING, TypedDict, cast |
10 | | - |
11 | | -from cwl_utils.types import CWLDirectoryType, CWLFileType, CWLObjectType, is_directory, is_file |
| 9 | +from typing import TYPE_CHECKING, Any, TypedDict, cast |
| 10 | + |
| 11 | +from cwl_utils.types import ( |
| 12 | + CWLDirectoryType, |
| 13 | + CWLFileType, |
| 14 | + CWLObjectType, |
| 15 | + is_directory, |
| 16 | + is_file, |
| 17 | +) |
12 | 18 | from prov.identifier import Identifier, QualifiedName |
13 | 19 | from prov.model import PROV, PROV_LABEL, PROV_TYPE, PROV_VALUE, ProvDocument, ProvEntity |
14 | 20 | from schema_salad.sourceline import SourceLine |
15 | 21 |
|
| 22 | +from ..errors import WorkflowException |
| 23 | +from ..job import CommandLineJob, JobBase |
| 24 | +from ..loghandler import _logger |
| 25 | +from ..process import Process, shortname |
| 26 | +from ..stdfsaccess import StdFsAccess |
| 27 | +from ..utils import JobsType, get_listing, posix_path, versionstring |
| 28 | +from ..workflow_job import WorkflowJob |
16 | 29 | from .provenance_constants import ( |
17 | 30 | ACCOUNT_UUID, |
18 | 31 | CWLPROV, |
|
30 | 43 | WFPROV, |
31 | 44 | ) |
32 | 45 | from .writablebagfile import create_job, write_bag_file # change this later |
33 | | -from ..errors import WorkflowException |
34 | | -from ..job import CommandLineJob, JobBase |
35 | | -from ..loghandler import _logger |
36 | | -from ..process import Process, shortname |
37 | | -from ..stdfsaccess import StdFsAccess |
38 | | -from ..utils import JobsType, get_listing, posix_path, versionstring |
39 | | -from ..workflow_job import WorkflowJob |
40 | 46 |
|
41 | 47 | if TYPE_CHECKING: |
42 | 48 | from .ro import ResearchObject |
|
0 commit comments