We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f833c commit b7789acCopy full SHA for b7789ac
amadeus/mixins/parser.py
@@ -15,8 +15,8 @@ def _detect_error(self, client):
15
if error is not None:
16
self.__raise_error(error, client)
17
18
- @staticmethod # noqa: C901
19
- def error_for(status_code, parsed):
+ @staticmethod
+ def error_for(status_code, parsed): # noqa: C901
20
if status_code is None:
21
return NetworkError
22
if status_code >= 500:
0 commit comments