mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
Add pyright strict type checking
This commit is contained in:
@@ -41,7 +41,7 @@ class DynamoBackend(Backend):
|
||||
self.region = region
|
||||
|
||||
async def init(self) -> None:
|
||||
self.client = await self.session.create_client(
|
||||
self.client = await self.session.create_client( # pyright: ignore[reportUnknownMemberType]
|
||||
"dynamodb", region_name=self.region
|
||||
).__aenter__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user