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.
extended_json_encoder
1 parent 47a120a commit 2dcece2Copy full SHA for 2dcece2
src/aleph/sdk/client/authenticated_http.py
@@ -260,7 +260,10 @@ async def _broadcast(
260
261
async with self.http_session.post(
262
url,
263
- json={"sync": sync, "message": message_dict},
+ json={
264
+ "sync": sync,
265
+ "message": json.dumps(message_dict, default=extended_json_encoder),
266
+ },
267
) as response:
268
# The endpoint may be unavailable on this node, try the deprecated version.
269
if response.status in (404, 405):
0 commit comments