Mauricio Pérez
07/18/2025, 6:45 PMsource-pipedrive with Python 3.11 and running into this error:
Here’s the snippet triggering the error:Failure Reason: Encountered an error while discovering streams. Error: mutable default <class 'airbyte_cdk.sources.declarative.decoders.json_decoder.JsonDecoder'> for field decoder is not allowed: use default_factory
import airbyte as ab
pipedrive_config = {
"api_token": "api_token",
"replication_start_date": "2017-01-25 00:00:00Z"
}
pipedrive = ab.get_source("source-pipedrive", pip_url="airbyte-source-pipedrive==2.3.7")
pipedrive.set_config(pipedrive_config)
pipedrive.check()
I suspect this might be related to a CDK version incompatibility with Python 3.11. Has anyone found a workaround or a compatible version that resolves this?Yohann Jardin
07/18/2025, 7:45 PMairbyte_source = ab.get_source(
name=...,
config=...),
pip_url="airbyte-source-pipedrive==2.3.7",
install_if_missing=False,
install_root=AIRBYTE_FOLDER_PATH,
)Yohann Jardin
07/18/2025, 7:45 PMYohann Jardin
07/18/2025, 7:45 PM