Skip to content

Update to v0.0.6 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fsSignal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.5"
__version__ = "0.0.6"
__doc__ = """
Signal capturer v{}
Copyright (C) 2021 Fusion Solutions KFT <contact@fusionsolutions.io>
Expand Down
6 changes: 3 additions & 3 deletions fsSignal/fsSignal.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import traceback, signal as _signal
from threading import Event
from time import monotonic, sleep
from typing import Callable, Dict, Any, Iterator, Iterable, Optional, Union
from typing import Callable, Dict, Any, Iterator, Iterable, Optional, Union, Type
# Third party modules
# Local modules
# Program
Expand Down Expand Up @@ -92,10 +92,10 @@ def reset(self) -> None:
if isinstance(Signal._handler, Signal):
return Signal._handler._reset()
@classmethod
def getSoftSignal(self) -> Any:
def getSoftSignal(self) -> Type[BaseSignal]:
return SoftSignal
@classmethod
def getHardSignal(self) -> Any:
def getHardSignal(self) -> Type[BaseSignal]:
return HardSignal
@classmethod
def isActivated(self) -> bool:
Expand Down