Skip to content

Commit 8d6d986

Browse files
Fix SAMPLE_GUIDELINES.md example - load_dotenv before docstring per guidance
Co-authored-by: eavanvalkenburg <[email protected]>
1 parent 17a37fc commit 8d6d986

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/samples/SAMPLE_GUIDELINES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ from agent_framework.azure import AzureOpenAIResponsesClient
5050
from azure.identity import AzureCliCredential
5151
from dotenv import load_dotenv
5252

53+
# Load environment variables from .env file
54+
load_dotenv()
55+
5356
"""
5457
Sample docstring explaining what the sample does.
5558
"""
56-
57-
# Load environment variables from .env file
58-
load_dotenv()
5959
```
6060

6161
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

Comments
 (0)