Skip to content

Commit

Permalink
fix the pickling error for IO objects
Browse files Browse the repository at this point in the history
  • Loading branch information
ndonyapour committed Oct 18, 2023
1 parent ec9c898 commit d2ebdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltool/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def __init__(self, kwargs: Optional[Dict[str, Any]] = None) -> None:
self.default_stdout: Optional[Union[IO[bytes], TextIO]] = None
self.default_stderr: Optional[Union[IO[bytes], TextIO]] = None
self.validate_only: bool = False
self.validate_stdout: Union[IO[bytes], TextIO, IO[str]] = sys.stdout
self.validate_stdout: Optional[Union[IO[bytes], TextIO, IO[str]]] = None
super().__init__(kwargs)
if self.tmp_outdir_prefix == "":
self.tmp_outdir_prefix = self.tmpdir_prefix
Expand Down

0 comments on commit d2ebdf0

Please sign in to comment.