kaxil commented on code in PR #57124:
URL: https://github.com/apache/airflow/pull/57124#discussion_r2455622752


##########
airflow-core/src/airflow/serialization/definitions/param.py:
##########
@@ -20,78 +20,50 @@
 
 import collections.abc
 import copy
-import json
 from typing import TYPE_CHECKING, Any
 
-from airflow.exceptions import ParamValidationError
 from airflow.serialization.definitions.notset import NOTSET, ArgNotSet
 
 if TYPE_CHECKING:
     from collections.abc import Iterator, Mapping
 
 
-def _check_json(value):
-    try:
-        json.dumps(value)
-    except Exception:
-        raise ParamValidationError(
-            f"All provided parameters must be JSON-serializable. The value 
'{value}' is not."

Review Comment:
   Unrelated changes



-- 
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]

Reply via email to