importlib.resources.contents is deprecated (#14835)

This commit is contained in:
sobolevn
2025-10-07 12:28:16 +03:00
committed by GitHub
parent 79bb399a6d
commit dfaf10db5c
3 changed files with 9 additions and 4 deletions
@@ -29,4 +29,4 @@ if sys.version_info >= (3, 13):
importlib.resources.read_binary("pkg", pth)
importlib.resources.path("pkg", pth)
importlib.resources.is_resource("pkg", pth)
importlib.resources.contents("pkg", pth)
importlib.resources.contents("pkg", pth) # pyright: ignore[reportDeprecated]