# PropertyInfo

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_utils/_transform/PropertyInfo)

Metadata class to be used in Annotated types to provide information about a given type.

For example:

class MyParams(TypedDict):
    account_holder_name: Annotated[str, PropertyInfo(alias='accountHolderName')]

This means that {'account_holder_name': 'Robert'} will be transformed to {'accountHolderName': 'Robert'} before being sent to the API.

## Signature

```python
PropertyInfo(
    self,
    *,
    alias: str | None = None,
    format: PropertyFormat | None = None,
    format_template: str | None = None,
    discriminator: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    *,
    alias: str | None = None,
    format: PropertyFormat | None = None,
    format_template: str | None = None,
    discriminator: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `alias` | `str \| None` |
| `format` | `PropertyFormat \| None` |
| `format_template` | `str \| None` |
| `discriminator` | `str \| None` |


## Properties

- `alias`
- `format`
- `format_template`
- `discriminator`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/d6cd6082f09e7826a2d6afe444ae6119e61b82a6/python/langsmith/_openapi_client/_utils/_transform.py#L44)