fivetran / prefect-fivetran

https://fivetran.github.io/prefect-fivetran/
Apache License 2.0
14 stars 4 forks source link

Pydantic Module Version #16

Open Bryan-Meier opened 12 months ago

Bryan-Meier commented 12 months ago

With the switch to Prefect 1 to 2, it appears this move has caused some issues in this module. The newer version of Prefect is now using Pydantic v2 and prefect-fivetran uses pydantic v1. This causes unexpected issues when trying to use prefect-fivetran in the new Prefect 2. Could the pydantic dependency in prefect-fivetran be bumped to v2?

Bryan-Meier commented 12 months ago

I believe this is the cause of #15.

jamesoutgo commented 10 months ago

Also affected by this

japerry911 commented 10 months ago

Try using this, it works for me for Pydantic v2.

https://github.com/japerry911/prefect-fivetran/tree/japerry911/imp/pydantic-2-compatible

I opened PR as well #17