chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by GitHub
parent 816a2c3e1e
commit a619cb4ea9
204 changed files with 2125 additions and 608 deletions

View File

@@ -63,10 +63,12 @@ class TemporaryCacheRestApi(BaseApi, ABC):
def add_apispec_components(self, api_spec: APISpec) -> None:
try:
api_spec.components.schema(
TemporaryCachePostSchema.__name__, schema=TemporaryCachePostSchema,
TemporaryCachePostSchema.__name__,
schema=TemporaryCachePostSchema,
)
api_spec.components.schema(
TemporaryCachePutSchema.__name__, schema=TemporaryCachePutSchema,
TemporaryCachePutSchema.__name__,
schema=TemporaryCachePutSchema,
)
except DuplicateComponentNameError:
pass