This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 227cf65854068b6205fb1179b8d3edf628cf4deb Author: Vladimir Aranovsky <[email protected]> AuthorDate: Sat Oct 23 12:27:59 2021 +0300 Remove incorrect type comment in Swagger2Specification._set_defaults classmethod (#19065) (cherry picked from commit 1fb4729a9d355bf64d41ceef649ed7d9fa070afb) --- airflow/_vendor/connexion/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/_vendor/connexion/spec.py b/airflow/_vendor/connexion/spec.py index e11530e..5ab7e0c 100644 --- a/airflow/_vendor/connexion/spec.py +++ b/airflow/_vendor/connexion/spec.py @@ -166,7 +166,7 @@ class Swagger2Specification(Specification): @classmethod def _set_defaults(cls, spec): spec.setdefault('produces', []) - spec.setdefault('consumes', ['application/json']) # type: List[str] + spec.setdefault('consumes', ['application/json']) spec.setdefault('definitions', {}) spec.setdefault('parameters', {}) spec.setdefault('responses', {})
