# flytekit.remote.data

## Directory

### Methods

| Method | Description |
|-|-|
| [`download_literal()`](#download_literal) | Download a single literal to a file, if it is a blob or structured dataset. |

## Methods

#### download_literal()

```python
def download_literal(
    file_access: flytekit.core.data_persistence.FileAccessProvider,
    var: str,
    data: flytekit.models.literals.Literal,
    download_to: typing.Optional[pathlib.Path],
)
```
Download a single literal to a file, if it is a blob or structured dataset.

| Parameter | Type | Description |
|-|-|-|
| `file_access` | `flytekit.core.data_persistence.FileAccessProvider` | |
| `var` | `str` | |
| `data` | `flytekit.models.literals.Literal` | |
| `download_to` | `typing.Optional[pathlib.Path]` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flytekit-sdk/packages/flytekit.remote.data.md
**HTML**: https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.remote.data/
