You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/samples/SAMPLE_GUIDELINES.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,12 +50,12 @@ from agent_framework.azure import AzureOpenAIResponsesClient
50
50
from azure.identity import AzureCliCredential
51
51
from dotenv import load_dotenv
52
52
53
+
# Load environment variables from .env file
54
+
load_dotenv()
55
+
53
56
"""
54
57
Sample docstring explaining what the sample does.
55
58
"""
56
-
57
-
# Load environment variables from .env file
58
-
load_dotenv()
59
59
```
60
60
61
61
Users can create a `.env` file in the `python/` directory based on `.env.example` to set their environment variables without having to export them in their shell.
0 commit comments