From 24f74d00d58effb8540895e2a055f56068a35c0c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 19:47:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.ci hooks --- .gitignore | 2 +- aiopenapi3/openapi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bf412c33..56f091d0 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ tests/my_*.py docs/build/ .pdm-python *.egg-info -*.ipynb \ No newline at end of file +*.ipynb diff --git a/aiopenapi3/openapi.py b/aiopenapi3/openapi.py index 9d272804..44ccd241 100644 --- a/aiopenapi3/openapi.py +++ b/aiopenapi3/openapi.py @@ -459,7 +459,7 @@ def is_schema(v: Tuple[str, "SchemaType"]) -> bool: for name, schema in filter(is_schema, byid.items()): byname[schema._get_identity(name=name)] = schema - # PathItems + # PathItems for path, obj in (self.paths or dict()).items(): for m in obj.model_fields_set & HTTP_METHODS: op = getattr(obj, m)