Skip to content

Commit

Permalink
docs: use os.getenv instead of google.colab
Browse files Browse the repository at this point in the history
  • Loading branch information
sykp241095 committed Mar 3, 2025
1 parent d337daf commit 98f992e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/tests/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@
"source": [
"from sqlalchemy import create_engine\n",
"from autoflow import Autoflow\n",
"from google.colab import userdata\n",
"# from google.colab import userdata\n",
"# db_engine = create_engine(userdata.get('DATABASE_URL'))\n",
"\n",
"# db_engine = create_engine(os.getenv(\"DATABASE_URL\"))\n",
"db_engine = create_engine(userdata.get('DATABASE_URL'))\n",
"db_engine = create_engine(os.getenv(\"DATABASE_URL\"))\n",
"af = Autoflow(db_engine=db_engine)"
]
},
Expand Down

0 comments on commit 98f992e

Please sign in to comment.