diff --git a/template/assets/use_case/template/pyproject.toml.hbs b/template/assets/use_case/template/pyproject.toml.hbs index 37e8071..75c8b5c 100644 --- a/template/assets/use_case/template/pyproject.toml.hbs +++ b/template/assets/use_case/template/pyproject.toml.hbs @@ -5,7 +5,8 @@ requires-python = ">={{ python_version }}" # You can add dependencies with `aqora add` dependencies = [ - "q3as>=0.1.3", + "q3as>=0.1.3", + "python-dotenv>=1.0.1", ] [build-system] diff --git a/template/assets/use_case/template/submission/q3as_demo.ipynb b/template/assets/use_case/template/submission/q3as_demo.ipynb index baf8661..3dc9728 100644 --- a/template/assets/use_case/template/submission/q3as_demo.ipynb +++ b/template/assets/use_case/template/submission/q3as_demo.ipynb @@ -27,9 +27,13 @@ "outputs": [], "source": [ "from q3as import Client, Credentials\n", + "from dotenv import load_dotenv\n", + "import os\n", "\n", - "id = \"your-id\"\n", - "secret = \"your-secret\"\n", + "load_dotenv()\n", + "\n", + "id = os.getenv(\"Q3AS_ID\")\n", + "secret = os.getenv(\"Q3AS_SECRET\")\n", "\n", "client = Client(Credentials(id=id, secret=secret))" ]