Pyasma commented on code in PR #65469:
URL: https://github.com/apache/airflow/pull/65469#discussion_r3252292192
##########
airflow-core/src/airflow/serialization/definitions/param.py:
##########
@@ -56,11 +56,16 @@ def resolve(self, *, raises: bool = False) -> Any:
default. They are only raised if this is set to *True* instead.
"""
import jsonschema
+ from jsonschema import FormatChecker
try:
if not is_arg_set(value := self.value):
raise ValueError("No value passed")
- jsonschema.validate(value, self.schema,
format_checker=jsonschema.FormatChecker())
+ jsonschema.validate(
+ value,
+ self.schema,
+ format_checker=FormatChecker(),
+ )
Review Comment:
hey thanks for the review
--
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]