File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 3232)
3333
3434from cwl_utils import expression
35+ from mypy_extensions import mypyc_attr
3536from pkg_resources import resource_stream
3637from rdflib import Graph
3738from ruamel .yaml .comments import CommentedMap , CommentedSeq
@@ -535,6 +536,7 @@ def eval_resource(
535536FILE_COUNT_WARNING = 5000
536537
537538
539+ @mypyc_attr (allow_interpreted_subclasses = True )
538540class Process (HasReqsHints , metaclass = abc .ABCMeta ):
539541 def __init__ (
540542 self , toolpath_object : CommentedMap , loadingContext : LoadingContext
Original file line number Diff line number Diff line change 3939import requests
4040from cachecontrol import CacheControl
4141from cachecontrol .caches import FileCache
42- from mypy_extensions import TypedDict
42+ from mypy_extensions import TypedDict , mypyc_attr
4343from schema_salad .exceptions import ValidationException
4444from schema_salad .ref_resolver import Loader
4545from typing_extensions import TYPE_CHECKING , Deque
@@ -502,6 +502,7 @@ def create_tmp_dir(tmpdir_prefix: str) -> str:
502502 return tempfile .mkdtemp (prefix = tmp_prefix , dir = tmp_dir )
503503
504504
505+ @mypyc_attr (allow_interpreted_subclasses = True )
505506class HasReqsHints :
506507 """Base class for get_requirement()."""
507508
You can’t perform that action at this time.
0 commit comments