Posting a transaction results in: {"status":1,"error":"functools.partial object argument after ** must be a mapping, not str"}
|
kwargs = request.json.get('args') |
Potential fix without breaking functionality if there is an issue with different environments/libs, check if kwargs is a str and
import json
....
if isinstance(kwargs, str):
kwargs = json.loads(request.json.get('args'))
Posting a transaction results in:
{"status":1,"error":"functools.partial object argument after ** must be a mapping, not str"}my_token_lamden_tutorial/server/contracting_server.py
Line 102 in fa2d419
Potential fix without breaking functionality if there is an issue with different environments/libs, check if kwargs is a str and