Skip to content

Commit 740dae6

Browse files
committed
osfv/libs/snipeit_api.py: fix docstring
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
1 parent 8685ec1 commit 740dae6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

osfv_cli/src/osfv/libs/snipeit_api.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ def get_all_assets(self):
174174
175175
Returns:
176176
list: A list of dictionaries, where each dictionary represents an asset.
177-
178-
Raises:
179-
requests.exceptions.RequestException: If the HTTP request to the API fails.
180177
"""
181178
page = 1
182179
all_assets = []
@@ -436,8 +433,6 @@ def check_out_asset(self, asset_id):
436433
bool: Indicates if the checkout operation was initiated (True) or not (False).
437434
dict or None: The JSON response from the API if the checkout was initiated, otherwise None.
438435
bool: Indicates if the asset was already checked out to the current user (True) or not (False).
439-
440-
Raises:
441436
requests.exceptions.RequestException: If the HTTP request to the API fails.
442437
"""
443438
self.check_asset_for_ip_exclusivity_by_id(asset_id)

0 commit comments

Comments
 (0)