airbytehq / airbytehq/PyAirbyte

source-zendesk-support: could not determine airbyte type from JSON schema

未关闭
#207 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
344
派生
77
平均合并
1 天 11 小时
30 天内合并 PR
35

描述

Trying to use pyairbyte to read from zendesk-support.

Connection check succeeded for `source-zendesk-support`.
Started `source-zendesk-support` read operation at 11:54:30...
Could not determine airbyte type from JSON schema: {'type': ['null', 'object', 'string'], 'properties': {'id': {'type': ['null', 'integer']}, 'assignee_id': {'type':
['null', 'integer']}, 'group_id': {'type': ['null', 'integer']}, 'reason_id': {'type': ['null', 'integer']}, 'requester_id': {'type': ['null', 'integer']},
'ticket_id': {'type': ['null', 'integer']}, 'updated_at': {'type': ['null', 'string'], 'format': 'date-time'}, 'created_at': {'type': ['null', 'string'], 'format':
'date-time'}, 'url': {'type': ['null', 'string']}, 'score': {'type': ['null', 'string']}, 'reason': {'type': ['null', 'string']}, 'comment': {'type': ['null',
'string']}}}
Completed `source-zendesk-support` read operation at 11:54:33.

Python code is:
source: ab.Source = ab.get_source("source-zendesk-support")

source.set_config(
config={
"subdomain" : "",
"credentials": {
"credentials" : "api_token",
"email":"",
"api_token": ""
},
"start_date" : "2024-01-01T00:00:00Z"
}
)

result = source.check()

source.select_streams(["tickets"])
read_result: ab.ReadResult = source.read()

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。