Skip to content

Commit 4e55ba7

Browse files
committed
update
1 parent 210a28e commit 4e55ba7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements/requirements-schemaregistry.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ attrs>=21.2.0
22
cachetools>=5.5.0
33
httpx>=0.26
44
authlib>=1.0.0
5-
orjson >= 3.10,<4
5+
orjson >= 3.10

src/confluent_kafka/schema_registry/_async/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async def send_request(
416416
" application/json"}
417417

418418
if body is not None:
419-
body = orjson.dumps(x).decode('utf-8')
419+
body = orjson.dumps(body).decode('utf-8')
420420
headers = {'Content-Length': str(len(body)),
421421
'Content-Type': "application/vnd.schemaregistry.v1+json"}
422422

src/confluent_kafka/schema_registry/_sync/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def send_request(
416416
" application/json"}
417417

418418
if body is not None:
419-
body = orjson.dumps(x).decode('utf-8')
419+
body = orjson.dumps(body).decode('utf-8')
420420
headers = {'Content-Length': str(len(body)),
421421
'Content-Type': "application/vnd.schemaregistry.v1+json"}
422422

0 commit comments

Comments
 (0)