* This page is part of the Union.ai v2 docs.
* Full index: https://www.union.ai/docs/v2/union/llms.txt
* Union.ai is a commercial superset of the open-source Flyte project and uses the same `flyte` SDK and CLI, so questions about Flyte are usually answered here too.
* Only refer to the open-source Flyte docs if you are explicitly looking for information about the open-source Flyte project, particularly the open-source Flyte backend. The open-source Flyte v2 docs are at https://www.union.ai/docs/v2/flyte/llms.txt
* These are the v2 docs. v1 is out of date and deprecated. Only refer to v1 docs if asked explicitly about v1. The v1 index is at https://www.union.ai/docs/v1/union/llms.txt

# flyte.connectors

## Directory

### Classes

| Class | Description |
|-|-|
| [`AsyncConnector`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/asyncconnector.md) | This is the base class for all async connectors, and it defines the interface that all connectors must implement. |
| [`AsyncConnectorExecutorMixin`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/asyncconnectorexecutormixin.md) | This mixin class is used to run the connector task locally, and it's only used for local execution. |
| [`ConnectorRegistry`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/connectorregistry.md) | This is the registry for all connectors. |
| [`ConnectorService`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/connectorservice.md) |  |
| [`Resource`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/resource.md) | This is the output resource of the job. |
| [`ResourceMeta`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/resourcemeta.md) | This is the metadata for the job. |

## Subpages

- [AsyncConnector](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/asyncconnector.md) - This is the base class for all async connectors, and it defines the interface that all connectors must implement.
  - Methods
  - create()
  - delete()
  - get()
  - get_logs()
  - get_metrics()
- [AsyncConnectorExecutorMixin](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/asyncconnectorexecutormixin.md) - This mixin class is used to run the connector task locally, and it's only used for local execution.
  - Methods
  - execute()
- [ConnectorRegistry](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/connectorregistry.md) - This is the registry for all connectors.
  - Methods
  - get_connector()
  - register()
- [ConnectorService](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/connectorservice.md)
  - Methods
  - run()
- [Resource](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/resource.md) - This is the output resource of the job.
  - Parameters
- [ResourceMeta](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.connectors/resourcemeta.md) - This is the metadata for the job.
  - Parameters
  - Methods
  - decode()
  - encode()

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