You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are running code using TheHive4Py 2.0.0b2 on AWS Lambda and you interact with a function that returns a None response you get a JSONDecodeError:
. It is most likely caused by the fact that JSONDecodeError is coming from from json.decoder import JSONDecodeError as Lambda my not include either simplejson or json unlike when you import JSONDecodeError from requests.
The text was updated successfully, but these errors were encountered:
When you are running code using TheHive4Py 2.0.0b2 on AWS Lambda and you interact with a function that returns a None response you get a
JSONDecodeError
:This error appears to be coming from
TheHive4py/thehive4py/session.py
Line 103 in e9a0700
JSONDecodeError
is coming fromfrom json.decoder import JSONDecodeError
as Lambda my not include either simplejson or json unlike when you importJSONDecodeError
fromrequests
.The text was updated successfully, but these errors were encountered: