
from pathlib import Path
from typing import Callable, Optional, List, Union

from il2fb.parsers.events.events import Event


EventOrNone = Optional[Event]
EventHandler = Callable[[Event], None]

IntOrNone = Optional[int]

StringProducer = Callable[[], str]
StringHandler = Callable[[str], None]

StringOrNone = Optional[str]
StringOrNoneProducer = Callable[[], StringOrNone]

StringOrPath = Union[str, Path]
StringList = List[str]


from pathlib import Path
from typing import Callable, Optional, List, Union

from il2fb.commons.events import Event


EventOrNone = Optional[Event]
EventHandler = Callable[[Event], None]

IntOrNone = Optional[int]

StringProducer = Callable[[], str]
StringHandler = Callable[[str], None]

StringOrNone = Optional[str]
StringOrNoneProducer = Callable[[], StringOrNone]

StringOrPath = Union[str, Path]
StringList = List[str]

Update import of Event class
Update import of Event class


  
  from pathlib import Path
  from typing import Callable, Optional, List, Union
  
- from il2fb.parsers.events.events import Event
+ from il2fb.commons.events import Event
  
  
  EventOrNone = Optional[Event]
  EventHandler = Callable[[Event], None]
  
  IntOrNone = Optional[int]
  
  StringProducer = Callable[[], str]
  StringHandler = Callable[[str], None]
  
  StringOrNone = Optional[str]
  StringOrNoneProducer = Callable[[], StringOrNone]
  
  StringOrPath = Union[str, Path]
  StringList = List[str]
  
Update import of Event class
## Code Before:

from pathlib import Path
from typing import Callable, Optional, List, Union

from il2fb.parsers.events.events import Event


EventOrNone = Optional[Event]
EventHandler = Callable[[Event], None]

IntOrNone = Optional[int]

StringProducer = Callable[[], str]
StringHandler = Callable[[str], None]

StringOrNone = Optional[str]
StringOrNoneProducer = Callable[[], StringOrNone]

StringOrPath = Union[str, Path]
StringList = List[str]

## Instruction:
Update import of Event class
## Code After:

from pathlib import Path
from typing import Callable, Optional, List, Union

from il2fb.commons.events import Event


EventOrNone = Optional[Event]
EventHandler = Callable[[Event], None]

IntOrNone = Optional[int]

StringProducer = Callable[[], str]
StringHandler = Callable[[str], None]

StringOrNone = Optional[str]
StringOrNoneProducer = Callable[[], StringOrNone]

StringOrPath = Union[str, Path]
StringList = List[str]
