Skip to content

Commit 83b7b94

Browse files
committed
fix(gooddata-sdk): [AUTO] fix-agent attempt 2
1 parent 72cba04 commit 83b7b94

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_in_attributes_provider_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@
3131

3232

3333
def lazy_import():
34+
from gooddata_api_client.model.anthropic_provider_config import AnthropicProviderConfig
3435
from gooddata_api_client.model.aws_bedrock_provider_config import AwsBedrockProviderConfig
3536
from gooddata_api_client.model.azure_foundry_provider_config import AzureFoundryProviderConfig
3637
from gooddata_api_client.model.open_ai_provider_auth import OpenAiProviderAuth
3738
from gooddata_api_client.model.open_ai_provider_config import OpenAIProviderConfig
39+
globals()['AnthropicProviderConfig'] = AnthropicProviderConfig
3840
globals()['AwsBedrockProviderConfig'] = AwsBedrockProviderConfig
3941
globals()['AzureFoundryProviderConfig'] = AzureFoundryProviderConfig
4042
globals()['OpenAIProviderConfig'] = OpenAIProviderConfig
@@ -356,6 +358,7 @@ def _composed_schemas():
356358
'allOf': [
357359
],
358360
'oneOf': [
361+
AnthropicProviderConfig,
359362
AwsBedrockProviderConfig,
360363
AzureFoundryProviderConfig,
361364
OpenAIProviderConfig,

packages/gooddata-sdk/tests/catalog/fixtures/organization/test_create_anthropic_llm_provider.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,32 @@ interactions:
2828
status:
2929
code: 204
3030
message: No Content
31+
- request:
32+
body: null
33+
headers:
34+
Accept-Encoding:
35+
- br, gzip, deflate
36+
X-GDC-VALIDATE-RELATIONS:
37+
- 'true'
38+
X-Requested-With:
39+
- XMLHttpRequest
40+
method: DELETE
41+
uri: http://localhost:3000/api/v1/entities/llmProviders/test-anthropic-provider
42+
response:
43+
body:
44+
string: ''
45+
headers:
46+
Content-Type:
47+
- application/vnd.gooddata.api+json
48+
DATE: *id001
49+
Expires:
50+
- '0'
51+
Pragma:
52+
- no-cache
53+
X-Content-Type-Options:
54+
- nosniff
55+
X-GDC-TRACE-ID: *id001
56+
status:
57+
code: 204
58+
message: No Content
3159
version: 1

0 commit comments

Comments
 (0)