Add typehints

This commit is contained in:
Marek Wolan
2023-07-14 14:43:47 +01:00
parent c2931bde6c
commit 31fedb945e
6 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ from primaite.common.enums import SoftwareState
class Service(object):
"""Service class."""
def __init__(self, name: str, port: str, software_state: SoftwareState):
def __init__(self, name: str, port: str, software_state: SoftwareState) -> None:
"""
Initialise a service.