airbytehq / airbytehq/PyAirbyte

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

Đang mở
#207 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

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()

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.