Merge pull request #3 from mathd/dotenv

add support for .env with python-dotenv
This commit is contained in:
Zach
2025-04-07 10:27:29 -04:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

2
.env.sample Normal file
View File

@@ -0,0 +1,2 @@
GEMINI_PROJECT_ID=<GEMINI_PROJECT_ID>
GITHUB_TOKEN=<GITHUB_TOKEN>

View File

@@ -1,8 +1,11 @@
import dotenv
import os
import argparse
# Import the function that creates the flow
from flow import create_tutorial_flow
dotenv.load_dotenv()
# Default file patterns
DEFAULT_INCLUDE_PATTERNS = {
"*.py", "*.js", "*.ts", "*.go", "*.java", "*.pyi", "*.pyx",

View File

@@ -3,3 +3,4 @@ pyyaml>=6.0
requests>=2.28.0
google-cloud-aiplatform>=1.25.0
google-genai>=1.9.0
python-dotenv>=1.0.0