Closed fatchat closed 2 months ago
python scripts/allow_field_overrides.py --cli-block-name wastewarriors-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name ylabs-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name alpha1-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name delta1-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name educate-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name epsilon1-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name gamma1-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name goalkeep-dbtrepo --allow-field-overrides
python scripts/allow_field_overrides.py --cli-block-name lahi-dbtrepo --allow-field-overrides
also created dbtrepo/profiles/
directory where missing:
tested omega1 ... the first dbt-run failed to fetch the cli-profile block. running it again worked but why is this happening
proxy tells us
sqlalchemy.exc.InterfaceError: (sqlalchemy.dialects.postgresql.asyncpg.InterfaceError) <class 'asyncpg.exceptions._base.InterfaceError'>: connection is closed
which isn't enlightening
tested omega1 ... the first dbt-run failed to fetch the cli-profile block. running it again worked but why is this happening
proxy tells us
sqlalchemy.exc.InterfaceError: (sqlalchemy.dialects.postgresql.asyncpg.InterfaceError) <class 'asyncpg.exceptions._base.InterfaceError'>: connection is closed
which isn't enlightening
This keeps happening every now and then. With less frequency as off now. I have faced this while creating connnections (i.e. deployments).
@fatchat i didn't understand how to tackle this problem:-
File "C:\Users\User.pyenv\pyenv-win\versions\3.10.11\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "C:\Users\User\Desktop\DMP\prefect-proxy\proxy\main.py", line 9, in
from proxy.service import (
File "C:\Users\User\Desktop\DMP\prefect-proxy\proxy\service.py", line 36, in
uvicorn proxy.main:app --workers 4 --host 0.0.0.0 --port 8001
after running this code shows above error
@Rishikesh63 you need to pip install -r requirements.txt
which installs a fork of prefect_airbyte
which contains the reset_connection
function
@Rishikesh63 you need to
pip install -r requirements.txt
which installs a fork ofprefect_airbyte
which contains thereset_connection
function
There is already requirements.txt, prefect_airbyte and reset_connection still showing error
the dbt cli profile's target-configs needs the
allow_field_overrides
flag to be set toTrue
for postgres profiles