https://linen.dev logo
#connector-development
Title
# connector-development
c

Christo Olivier

03/29/2022, 5:48 PM
Currently I see a big difference between the code generated for a Python Source and the code used in the Python HTTP Source Tutorial here (https://docs.airbyte.com/connector-development/tutorials/cdk-tutorial-python-http/5-declare-schema) Is there a reason for this discrepancy? The is also a difference between the Building a Python Source documentation (https://docs.airbyte.com/connector-development/tutorials/building-a-python-source) and that of the Python HTTP Source Tutorial Which of these is the most up to date and correct method to follow?
Never-mind, I see in the code of AbstractSource that it contains all of the methods that the normal python source project gets created with. I will go with the example of an HTTP source as it seems that abstracts away a lot of the code that would otherwise need to be written.
m

Marcos Marx (Airbyte)

03/29/2022, 9:11 PM
need any assistance here @Christo Olivier
?
c

Christo Olivier

03/30/2022, 2:39 PM
Hi @Marcos Marx (Airbyte) Thanks for reaching out. I discovered that I generated a general Python Source instead of the Python HTTP Source. After digging through this some more I think the General Python Source implementation fits my use-case the best. I have a Bulk Export API and not a normal Rest API for which I need to develop the connector.
4 Views