https://dagster.io/ logo
#integration-airbyte
Title
# integration-airbyte
e

Edo

07/15/2023, 4:14 AM
I'm trying out ingestion as code. I tried to define my MySQL source but got this error. Not sure how to solve this. I've tried
ssl=False
, but it's still required me to give
ssl_mode
. I've tried
ssl_mode="Preferred"
and
ssl_mode=MysqlSource.Preferred
with no luck. Can anyone help? Thanks
Copy code
dagster._check.ParameterCheckError: Param "ssl_mode" is not one of ['Preferred', 'Required', 'VerifyCA', 'VerifyIdentity']. Got <class 'dagster_airbyte.managed.generated.sources.MysqlSource.Preferred'> which is type <class 'type'>.
🤖 1
Ok. Sorry. I'm dumb. It should be
MysqlSource.Preferred()
o

Odette Harary

07/18/2023, 4:24 PM
Did that resolve things?
e

Edo

07/19/2023, 2:28 AM
Yes it did
2 Views