ImportError when running PyAirbyte notebook in Colab

Summary

The user is facing an ImportError when trying to import ‘PostgresCacheConfig’ from ‘airbyte.caches’ in a PyAirbyte notebook running in Colab.


Question

running this book https://github.com/airbytehq/quickstarts/blob/main/pyairbyte_notebooks/PyAirbyte_Postgres_Custom_Cache_Demo.ipynb in colab

----> 1 from airbyte.caches import PostgresCacheConfig, PostgresCache
      2 
      3 #Define a Postgres Cache and pass the necessary configuration
      4 pg_cache = PostgresCache(
      5     PostgresCacheConfig(

ImportError: cannot import name 'PostgresCacheConfig' from 'airbyte.caches' (/usr/local/lib/python3.10/dist-packages/airbyte/caches/__init__.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the```
“Open Examples” button below.

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1731416930727349) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["importerror", "pyairbyte", "colab", "postgres-cache"]
</sub>