ianbuss commented on code in PR #45962:
URL: https://github.com/apache/airflow/pull/45962#discussion_r1929797782
##########
task_sdk/pyproject.toml:
##########
@@ -27,10 +27,11 @@ dependencies = [
"httpx>=0.27.0",
"jinja2>=3.1.4",
"methodtools>=0.4.7",
- "msgspec>=0.18.6",
"psutil>=6.1.0",
"structlog>=24.4.0",
"retryhttp>=1.2.0",
+ "orjson>=3.10.11",
Review Comment:
That's a good question. I did consider jiter before orjson, as I have also
heard about Pydantic's rust parser, but AFAICT jiter only does JSON parsing not
serialization @potiuk. And that's what we're doing in logging. Anyway, since we
are using msgspec elsewhere in the task sdk still, I will switch back to that
but with the `enc_hook` that @jcrist recommended.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]