File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ def attach_to_app(self, app: FastAPI) -> None:
730730
731731async def blob_serialisation_context_manager (
732732 request : Request ,
733- ) -> AsyncGenerator [BlobDataManager ]:
733+ ) -> AsyncGenerator [BlobDataManager , None ]:
734734 r"""Set context variables to allow blobs to be [de]serialised.
735735
736736 In order to serialise a `.Blob` to a JSON-serialisable dictionary, we must
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ def _attach_things_to_server(self) -> None:
241241 thing .attach_to_server (self )
242242
243243 @asynccontextmanager
244- async def lifespan (self , app : FastAPI ) -> AsyncGenerator [None ]:
244+ async def lifespan (self , app : FastAPI ) -> AsyncGenerator [None , None ]:
245245 """Manage set up and tear down of the server and Things.
246246
247247 This method is used as a lifespan function for the FastAPI app. See
You can’t perform that action at this time.
0 commit comments