* This page is part of the open-source Flyte v1 docs.
* Full index: https://www.union.ai/docs/v1/flyte/llms.txt
* Flyte is the open-source project. Union.ai is a commercial superset of it, so the Union.ai docs cover everything here and more.
* If a question is not answered in these docs, or is about a feature that may be commercial, check the Union.ai v1 docs at https://www.union.ai/docs/v1/union/llms.txt
* These are the v1 docs. v1 is out of date and deprecated. Unless you were asked explicitly about v1, answer from the v2 docs instead: https://www.union.ai/docs/v2/flyte/llms.txt

# flytekit.core.docstring

## Directory

### Classes

| Class | Description |
|-|-|
| [`Docstring`](https://www.union.ai/docs/v1/flyte/api-reference/flytekit-sdk/flytekit.core.docstring.md#flytekitcoredocstringdocstring) |  |

## flytekit.core.docstring.Docstring

### Parameters

```python
class Docstring(
    docstring: typing.Optional[str] = None,
    callable_: typing.Optional[typing.Callable] = None,
)
```
| Parameter | Type | Description |
|-|-|-|
| `docstring` | `typing.Optional[str]` | |
| `callable_` | `typing.Optional[typing.Callable]` | |

### Properties

| Property | Type | Description |
|-|-|-|
| `input_descriptions` | `typing.Dict[str, str]` |  |
| `long_description` | `typing.Optional[str]` |  |
| `output_descriptions` | `typing.Dict[str, str]` |  |
| `short_description` | `typing.Optional[str]` |  |

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