Commit 3df9e23
authored
[Evaluation] add environment variable for API token refresh rate (#38162)
* use env var for azure token refresh interval
* update changelog and set default value for env var
* cast refresh rate to int
* fix pylint error
* fix tox black issue1 parent 946fe58 commit 3df9e23
2 files changed
Lines changed: 4 additions & 1 deletion
File tree
- sdk/evaluation/azure-ai-evaluation
- azure/ai/evaluation/simulator/_model_tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_model_tools/_identity_manager.py
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments