minor fixes

This commit is contained in:
Peter Annabel 2025-07-23 20:00:05 -05:00
parent 2aa21e8044
commit b25e300fef
3 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,4 @@ from pyhuntress.clients.managedsat_client import HuntressSATAPIClient
from pyhuntress.clients.siem_client import HuntressSIEMAPIClient from pyhuntress.clients.siem_client import HuntressSIEMAPIClient
__all__ = ["HuntressSATAPIClient", "HuntressSIEMAPIClient"] __all__ = ["HuntressSATAPIClient", "HuntressSIEMAPIClient"]
__version__ = "0.6.1" __version__ = "0.1.1"

View File

@ -1,5 +1,5 @@
class Config: class Config:
def __init__(self, max_retries=3) -> None: # noqa: ANN001 def __init__(self, max_retries=3) -> None:
""" """
Initializes a new instance of the Config class. Initializes a new instance of the Config class.

View File

@ -5,7 +5,7 @@ from urllib.parse import urlsplit, urlunsplit
from requests import JSONDecodeError, Response from requests import JSONDecodeError, Response
class HuntressException(Exception): # noqa: N818 class HuntressException(Exception):
_code_explanation: ClassVar[str] = "" # Ex: for 404 "Not Found" _code_explanation: ClassVar[str] = "" # Ex: for 404 "Not Found"
_error_suggestion: ClassVar[str] = "" # Ex: for 404 "Check the URL you are using is correct" _error_suggestion: ClassVar[str] = "" # Ex: for 404 "Check the URL you are using is correct"