[aiofiles] Annotate AiofilesContextManagerTempDir (#11705)

This commit is contained in:
Sebastian Rittau
2024-04-02 15:44:44 +02:00
committed by GitHub
parent d698cb70eb
commit 6d19a17f57
2 changed files with 1 additions and 2 deletions

View File

@@ -28,7 +28,6 @@
"stdlib/xml/dom/minidom.pyi",
"stdlib/xml/dom/pulldom.pyi",
"stdlib/xml/sax",
"stubs/aiofiles/aiofiles/tempfile/__init__.pyi",
"stubs/aiofiles/aiofiles/tempfile/temptypes.pyi",
"stubs/antlr4-python3-runtime",
"stubs/aws-xray-sdk",

View File

@@ -256,4 +256,4 @@ def TemporaryDirectory(
) -> AiofilesContextManagerTempDir[None, None, AsyncTemporaryDirectory]: ...
class AiofilesContextManagerTempDir(AiofilesContextManager[_T_co, _T_contra, _V_co]):
async def __aenter__(self): ...
async def __aenter__(self) -> str: ... # type: ignore[override]