ashb commented on a change in pull request #7002: [AIRFLOW-6425] Serialization:
Add missing DAG parameters to Json Schema
URL: https://github.com/apache/airflow/pull/7002#discussion_r362554767
##########
File path: airflow/serialization/json_schema.py
##########
@@ -50,9 +50,9 @@ def iter_errors(self, instance) ->
Iterable[jsonschema.exceptions.ValidationErro
...
-def load_dag_schema() -> Validator:
+def load_schema() -> dict:
Review comment:
```suggestion
def load_dag_schema_json() -> dict:
```
And then leave the "default" one unchanged as `load_dag_schema`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services