File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 32
32
)
33
33
34
34
from cwl_utils import expression
35
+ from mypy_extensions import mypyc_attr
35
36
from pkg_resources import resource_stream
36
37
from rdflib import Graph
37
38
from ruamel .yaml .comments import CommentedMap , CommentedSeq
@@ -535,6 +536,7 @@ def eval_resource(
535
536
FILE_COUNT_WARNING = 5000
536
537
537
538
539
+ @mypyc_attr (allow_interpreted_subclasses = True )
538
540
class Process (HasReqsHints , metaclass = abc .ABCMeta ):
539
541
def __init__ (
540
542
self , toolpath_object : CommentedMap , loadingContext : LoadingContext
Original file line number Diff line number Diff line change 39
39
import requests
40
40
from cachecontrol import CacheControl
41
41
from cachecontrol .caches import FileCache
42
- from mypy_extensions import TypedDict
42
+ from mypy_extensions import TypedDict , mypyc_attr
43
43
from schema_salad .exceptions import ValidationException
44
44
from schema_salad .ref_resolver import Loader
45
45
from typing_extensions import TYPE_CHECKING , Deque
@@ -502,6 +502,7 @@ def create_tmp_dir(tmpdir_prefix: str) -> str:
502
502
return tempfile .mkdtemp (prefix = tmp_prefix , dir = tmp_dir )
503
503
504
504
505
+ @mypyc_attr (allow_interpreted_subclasses = True )
505
506
class HasReqsHints :
506
507
"""Base class for get_requirement()."""
507
508
You can’t perform that action at this time.
0 commit comments