Skip to content

Commit

Permalink
Fix Pylint: E1131
Browse files Browse the repository at this point in the history
  • Loading branch information
garlontas committed Jul 18, 2023
1 parent a0d4fd6 commit 6937dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pystreamapi/_parallel/fork_and_join.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=protected-access
import os

from typing import Callable, Any
from typing import Callable, Any, Optional

from pystreamapi._parallel.parallelizer import Parallel, delayed
from pystreamapi._streams.error.__error import ErrorHandler
Expand All @@ -24,7 +24,7 @@ class Parallelizer:

def __init__(self):
self.__src = None
self.__handler: ErrorHandler | None = None
self.__handler: Optional[ErrorHandler] = None

def set_source(self, src: list, handler: ErrorHandler=None):
"""
Expand Down

0 comments on commit 6937dd3

Please sign in to comment.