Skip to content

Commit 327ad52

Browse files
committed
Adding more code documentation
1 parent 2594478 commit 327ad52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ellar/common/responses/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def validate_object(self, obj: t.Any) -> t.Any:
3333
)
3434
values, error = self.validate(obj, {}, loc=(self.alias,))
3535
if error:
36-
_errors = list(error) if isinstance(error, list) else [error] # type: ignore[list-item]
36+
_errors = list(error) if isinstance(error, list) else [error]
3737
return None, _errors
3838
return values, []
3939

ellar/openapi/openapi_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class HTTPBase(SecurityBase):
318318
scheme: str
319319

320320

321-
class HTTPBearer(HTTPBase): # type: ignore[override]
321+
class HTTPBearer(HTTPBase):
322322
scheme: t.Literal["bearer"] = "bearer"
323323
bearerFormat: t.Optional[str] = None
324324

0 commit comments

Comments
 (0)