# ConnectorRegistry

**Package:** `flyte.connectors`

This is the registry for all connectors.
The connector service will look up the connector registry based on the task type and version.

## Methods

| Method | Description |
|-|-|
| [`get_connector()`](#get_connector) |  |
| [`register()`](#register) |  |

### get_connector()

```python
def get_connector(
    task_type_name: str,
    task_type_version: int,
) -> AsyncConnector[Any]
```
| Parameter | Type | Description |
|-|-|-|
| `task_type_name` | `str` | |
| `task_type_version` | `int` | |

### register()

```python
def register(
    connector: flyte.connectors._connector.AsyncConnector[typing.Any],
    override: bool,
)
```
| Parameter | Type | Description |
|-|-|-|
| `connector` | `flyte.connectors._connector.AsyncConnector[typing.Any]` | |
| `override` | `bool` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/flyte.connectors/connectorregistry.md
**HTML**: https://www.union.ai/docs/v2/flyte/api-reference/flyte-sdk/flyte.connectors/connectorregistry/
