ashlee3209 commented on issue #20442:
URL: https://github.com/apache/airflow/issues/20442#issuecomment-1103714195

   Hi, I faced the same issue when I am using 2.2.4. I added a type validation 
of boolean for a parameter then when clicking the dag page, it shows error:
   
   > Python version: 3.7.12
   Airflow version: 2.2.4
   Node: 3d45b1bc1955
   Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.7/site-packages/airflow/models/param.py", 
line 62, in __init__
       jsonschema.validate(self.value, self.schema, 
format_checker=FormatChecker())
     File 
"/home/airflow/.local/lib/python3.7/site-packages/jsonschema/validators.py", 
line 934, in validate
       raise error
   jsonschema.exceptions.ValidationError: 'NoValueSentinel' is not of type 
'null', 'boolean'
   Failed validating 'type' in schema:
       {'type': ['null', 'boolean']}
   On instance:
       'NoValueSentinel'
   
   any ideas?
   


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