From f39256c7a0d9221248014db579ee3157720008be Mon Sep 17 00:00:00 2001 From: Michael Waskom Date: Tue, 28 Jan 2025 01:17:37 +0000 Subject: [PATCH] Fix stray use of `lookup.aio` --- test/volume_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/volume_test.py b/test/volume_test.py index 896ba0c0e..3caad874c 100644 --- a/test/volume_test.py +++ b/test/volume_test.py @@ -75,7 +75,7 @@ def test_volume_commit(client, servicer, skip_reload): @pytest.mark.asyncio async def test_volume_get(servicer, client, tmp_path): await modal.Volume.create_deployed.aio("my-vol", client=client) - vol = await modal.Volume.lookup.aio("my-vol", client=client) # type: ignore + vol = await modal.Volume.from_name("my-vol").hydrate.aio(client=client) file_contents = b"hello world" file_path = "foo.txt"