-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Python: Update sample validation scripts #4870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6320443
3e7c946
63039cb
ed6b290
ad5749c
2f51a5c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -165,12 +165,11 @@ Produces: | |
|
|
||
| ## Report Status Codes | ||
|
|
||
| | Status | Label | Description | | ||
| | ------- | --------- | ----------------------------------------- | | ||
| | SUCCESS | [PASS] | Sample ran to completion with exit code 0 | | ||
| | FAILURE | [FAIL] | Sample exited with non-zero code | | ||
| | TIMEOUT | [TIMEOUT] | Sample exceeded timeout limit | | ||
| | ERROR | [ERROR] | Exception during execution | | ||
| | Status | Label | Description | | ||
| | ------------- | --------------- | ----------------------------------------- | | ||
| | SUCCESS | [PASS] | Sample ran to completion with exit code 0 | | ||
| | FAILURE | [FAIL] | Sample did not complete successfully (non-zero exit code) | | ||
| | MISSING_SETUP | [MISSING_SETUP] | Sample skipped due to missing setup | | ||
|
Comment on lines
+168
to
+172
|
||
|
|
||
| ## Troubleshooting | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isinstance(client, OpenAIAssistantsClient | AzureOpenAIAssistantsClient | AzureAIAgentClient)will raise TypeError at runtime becauseisinstancedoes not accept PEP 604 union types. Use a tuple of classes instead (e.g.,isinstance(client, (OpenAIAssistantsClient, AzureOpenAIAssistantsClient, AzureAIAgentClient))).