From 1fffc8bfc770a6b68abfb0b5ec2c24c046a750fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Alc=C3=A1zar=20Garz=C3=A1s?= Date: Mon, 10 Jun 2024 03:49:38 -0600 Subject: [PATCH] Update cache configuration --- .../PyAirbyte_Postgres_Custom_Cache_Demo.ipynb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pyairbyte_notebooks/PyAirbyte_Postgres_Custom_Cache_Demo.ipynb b/pyairbyte_notebooks/PyAirbyte_Postgres_Custom_Cache_Demo.ipynb index 934af08..9b4ad77 100644 --- a/pyairbyte_notebooks/PyAirbyte_Postgres_Custom_Cache_Demo.ipynb +++ b/pyairbyte_notebooks/PyAirbyte_Postgres_Custom_Cache_Demo.ipynb @@ -227,17 +227,15 @@ }, "outputs": [], "source": [ - "from airbyte.caches import PostgresCacheConfig, PostgresCache\n", + "from airbyte.caches import PostgresCache\n", "\n", "#Define a Postgres Cache and pass the necessary configuration\n", "pg_cache = PostgresCache(\n", - " PostgresCacheConfig(\n", - " host=\"localhost\",\n", - " port=5432,\n", - " username=\"postgres\",\n", - " password=\"postgres\",\n", - " database=\"pyairbyte_demo\"\n", - " )\n", + " host=\"localhost\",\n", + " port=5432,\n", + " username=\"postgres\",\n", + " password=\"postgres\",\n", + " database=\"pyairbyte_demo\"\n", ")" ] },