WOOOO im going insane
Some checks failed
Pylint / Pylint (3.12) (push) Failing after 35s

This commit is contained in:
SeaswimmerTheFsh 2023-12-19 17:27:24 -05:00
parent 7907aaa1e0
commit b975d98889
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
17 changed files with 795 additions and 367 deletions

View file

@ -12,18 +12,16 @@ class ZiplineApi:
enforced_signing: bool = True,
logger: logging.Logger = None
):
"""Constructor for ZiplineApi
"""Constructor for ZiplineApi.
:param hostname: The hostname of your Zipline instance, WITHOUT https or http.
:type hostname: str
:param token: String used for authentication when making requests.
:type token: str, optional
:param ssl: Normally set to True, but if your Zipline instance doesn't use SSL/TLS, set this to False.
:type ssl: bool, optional
:param enforced_signing: Normally set to True, but if having SSL/TLS cert validation issues, can turn off with False.
:type enforced_signing: bool, optional
:param logger: If your app has a logger, pass it in here.
:type logger: logging.Logger, optional
All API requests should be made through this class.
Args:
hostname (str): The hostname of your Zipline instance, WITHOUT https or http.
token (str = None): String used for authentication when making requests.
ssl (bool = True): Normally set to True, but if your Zipline instance doesn't use SSL/TLS, set this to False.
enforced_signing (bool = True): Normally set to True, but if having SSL/TLS cert validation issues, can turn off with False.
logger (logging.Logger = None): If your app has a logger, pass it in here.
"""
self._rest_adapter = RestAdapter(hostname=hostname, token=token, ssl=ssl, enforced_signing=enforced_signing, logger=logger)