misc: changed two docstrings' formatting
All checks were successful
Pylint / Pylint (3.12) (push) Successful in 37s

This commit is contained in:
SeaswimmerTheFsh 2023-12-23 00:16:24 -05:00
parent a6d90967c1
commit 63e83a7703
Signed by: cswimr
GPG key ID: 0BB727FE47D716AE

View file

@ -408,7 +408,8 @@ class ZiplineApi:
ValueError: Raised if amount is less than 1
Returns:
Stats: Statistics about the Zipline instance"""
Stats: Statistics about the Zipline instance
"""
if amount < 1:
raise ValueError('amount must be greater than 0')
if force_update:
@ -440,7 +441,8 @@ class ZiplineApi:
PyZiplineError: Raised if the API changes, causing a breaking change in this method
Returns:
Version: The version of the Zipline instance"""
Version: The version of the Zipline instance
"""
result = self._rest_adapter.get(endpoint="version")
if result.status_code == 200:
return Version(**result.data)