subkanthi commented on issue #20442:
URL: https://github.com/apache/airflow/issues/20442#issuecomment-1006075195
The problem is here in this line, because the value is of type 'str' and so
the `not isinstance` isnt working as expected.
```
# If we have a value, validate it once. May raise ValueError.
if not isinstance(value, ArgNotSet):
try:
jsonschema.validate(value, schema,
format_checker=FormatChecker())
except ValidationError as err:
raise ValueError(err)
```
<img width="1247" alt="Screen Shot 2022-01-05 at 4 01 44 PM"
src="https://user-images.githubusercontent.com/17434846/148288963-ff3b4950-16e3-47d6-aa2d-b3775e9fd35e.png">
--
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]