# ApifyFileSystemStorageClient<!-- -->

Apify-specific implementation of the file system storage client.

The only difference is that it uses `ApifyFileSystemKeyValueStoreClient` for key-value stores, which overrides the `purge` method to delete all files in the key-value store directory except for the metadata file and the `INPUT.json` file.

## Index[](#Index)

### Methods

* [create_dataset_client](https://docs.apify.com/sdk/python/reference/class/ApifyFileSystemStorageClient.md#create_dataset_client)
* [create_kvs_client](https://docs.apify.com/sdk/python/reference/class/ApifyFileSystemStorageClient.md#create_kvs_client)
* [get_storage_client_cache_key](https://docs.apify.com/sdk/python/reference/class/ApifyFileSystemStorageClient.md#get_storage_client_cache_key)

## Methods<!-- -->[](#Methods)

### [](#create_dataset_client)[](https://github.com/apify/apify-sdk-python/blob/c674a4d42ade9c1a07f33062b6702497cd34b19d//src/apify/storage_clients/_file_system/_storage_client.py#L56)create_dataset_client

* async **create_dataset_client**(\*, id, name, alias, configuration): [ApifyFileSystemDatasetClient](https://docs.apify.com/sdk/python/reference/class/ApifyFileSystemDatasetClient.md)

- #### Parameters

  * ##### optionalkeyword-onlyid: str | None = <!-- -->None
  * ##### optionalkeyword-onlyname: str | None = <!-- -->None
  * ##### optionalkeyword-onlyalias: str | None = <!-- -->None
  * ##### optionalkeyword-onlyconfiguration: [Configuration](https://docs.apify.com/sdk/python/reference/class/Configuration.md) | None = <!-- -->None

  #### Returns [ApifyFileSystemDatasetClient](https://docs.apify.com/sdk/python/reference/class/ApifyFileSystemDatasetClient.md)

### [](#create_kvs_client)[](https://github.com/apify/apify-sdk-python/blob/c674a4d42ade9c1a07f33062b6702497cd34b19d//src/apify/storage_clients/_file_system/_storage_client.py#L37)create_kvs_client

* async **create_kvs_client**(\*, id, name, alias, configuration): FileSystemKeyValueStoreClient

- #### Parameters

  * ##### optionalkeyword-onlyid: str | None = <!-- -->None
  * ##### optionalkeyword-onlyname: str | None = <!-- -->None
  * ##### optionalkeyword-onlyalias: str | None = <!-- -->None
  * ##### optionalkeyword-onlyconfiguration: [Configuration](https://docs.apify.com/sdk/python/reference/class/Configuration.md) | None = <!-- -->None

  #### Returns FileSystemKeyValueStoreClient

### [](#get_storage_client_cache_key)[](https://github.com/apify/apify-sdk-python/blob/c674a4d42ade9c1a07f33062b6702497cd34b19d//src/apify/storage_clients/_file_system/_storage_client.py#L30)get_storage_client_cache_key

* **get_storage_client_cache_key**(configuration): Hashable

- #### Parameters

  * ##### configuration: [Configuration](https://docs.apify.com/sdk/python/reference/class/Configuration.md)

  #### Returns Hashable
