Closed rshorser closed 1 week ago
@rshorser - Thanks for opening this issue and sharing the failure, and your proposed fix. I completely agree with you on the proposed fix. In the case that the check itself fails, then defaulting to the result of is_interactive()
to false would make perfect sense.
We would welcome a PR if you are able to create one for this fix. 👍
cc @bindipankhudi for visibility
@aaronsteers awesome, thanks for the quick reply. PR open here to fix
Closing as resolved in https://github.com/airbytehq/PyAirbyte/releases/tag/v0.11.2
I'm trying to run PyAirbyte behind a simple REST API which would make PyAirbyte code being executed inside an ASGI application (FastAPI to start) however I am consistently getting the following exception upon server starting up with just an import of
import airbyte as ab
.Is this a simple fix of just wrapping this code in an exception handler? If so, happy to open a PR.