ianbuss commented on code in PR #45962:
URL: https://github.com/apache/airflow/pull/45962#discussion_r1929827487
##########
task_sdk/src/airflow/sdk/log.py:
##########
@@ -196,13 +196,11 @@ def logging_processors(
else:
exc_group_processor = None
- encoder = msgspec.json.Encoder()
-
def json_dumps(msg, default):
- return encoder.encode(msg)
+ return orjson.dumps(msg, default=default)
Review Comment:
Reverted to msgspec and using `enc_hook=default` where default is supplied
as an arg.
--
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]