We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44efe0 commit a2dbc44Copy full SHA for a2dbc44
2 files changed
pystapi-client/src/pystapi_client/scripts/cli.py
@@ -2,7 +2,6 @@
2
import json
3
4
import click
5
-
6
from pystapi_client.client import Client
7
from pystapi_client.exceptions import APIError
8
pystapi-client/src/pystapi_client/stapi_api_io.py
@@ -149,7 +149,6 @@ def request(
149
logger.debug(err)
150
raise APIError(f"Error sending request: {err=}")
151
152
153
# NOTE what about other successful status codes?
154
if resp.status_code != 200:
155
raise APIError.from_response(resp)
0 commit comments