Skip to content

Commit 7d5a574

Browse files
committed
fix typing
1 parent a603bcb commit 7d5a574

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/apify/storage_clients/_file_system/_storage_client.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@ async def create_kvs_client(
2727
*,
2828
id: str | None = None,
2929
name: str | None = None,
30+
alias: str | None = None,
3031
configuration: Configuration | None = None,
3132
) -> FileSystemKeyValueStoreClient:
3233
configuration = configuration or Configuration.get_global_configuration()
33-
client = await ApifyFileSystemKeyValueStoreClient.open(id=id, name=name, configuration=configuration)
34+
client = await ApifyFileSystemKeyValueStoreClient.open(
35+
id=id,
36+
name=name,
37+
alias=alias,
38+
configuration=configuration,
39+
)
3440
await self._purge_if_needed(client, configuration)
3541
return client

tests/unit/storage_clients/test_file_system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ async def test_purge_preserves_input_file_and_metadata() -> None:
2222
kvs_storage_client = await ApifyFileSystemKeyValueStoreClient.open(
2323
id=None,
2424
name='test-kvs',
25+
alias=None,
2526
configuration=configuration,
2627
)
2728

0 commit comments

Comments
 (0)