Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: Zendesk connector registry #427

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.5.16

### Fixes

* **Fixed Zendesk connector registering method**

## 0.5.15

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion unstructured_ingest/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.15" # pragma: no cover
__version__ = "0.5.16" # pragma: no cover
3 changes: 0 additions & 3 deletions unstructured_ingest/v2/processes/connectors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@
from .slack import slack_source_entry
from .vectara import CONNECTOR_TYPE as VECTARA_CONNECTOR_TYPE
from .vectara import vectara_destination_entry
from .zendesk.zendesk import CONNECTOR_TYPE as ZENDESK_CONNECTOR_TYPE
from .zendesk.zendesk import zendesk_source_entry

add_source_entry(source_type=ASTRA_DB_CONNECTOR_TYPE, entry=astra_db_source_entry)
add_destination_entry(destination_type=ASTRA_DB_CONNECTOR_TYPE, entry=astra_db_destination_entry)
Expand Down Expand Up @@ -121,4 +119,3 @@
add_destination_entry(destination_type=REDIS_CONNECTOR_TYPE, entry=redis_destination_entry)

add_source_entry(source_type=JIRA_CONNECTOR_TYPE, entry=jira_source_entry)
add_source_entry(source_type=ZENDESK_CONNECTOR_TYPE, entry=zendesk_source_entry)
10 changes: 10 additions & 0 deletions unstructured_ingest/v2/processes/connectors/zendesk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from __future__ import annotations

from unstructured_ingest.v2.processes.connector_registry import (
add_source_entry,
)

from .zendesk import CONNECTOR_TYPE as ZENDESK_CONNECTOR_TYPE
from .zendesk import zendesk_source_entry

add_source_entry(source_type=ZENDESK_CONNECTOR_TYPE, entry=zendesk_source_entry)