Browse Source

add ignore because ty does not understand alias logic

pull/15091/head
svlandeg 4 months ago
parent
commit
cace926fd6
  1. 2
      fastapi/security/api_key.py

2
fastapi/security/api_key.py

@ -22,7 +22,7 @@ class APIKeyBase(SecurityBase):
self.auto_error = auto_error self.auto_error = auto_error
self.model: APIKey = APIKey( self.model: APIKey = APIKey(
**{"in": location}, **{"in": location}, # type: ignore[invalid-argument-type]
name=name, name=name,
description=description, description=description,
) )

Loading…
Cancel
Save