Skip to content

Commit 820faaf

Browse files
committed
fix(gooddata-sdk): [AUTO] fix-agent attempt 1
1 parent c49624b commit 820faaf

2 files changed

Lines changed: 369 additions & 0 deletions

File tree

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
interactions:
2+
- request:
3+
body:
4+
execution:
5+
attributes:
6+
- label:
7+
identifier:
8+
id: region
9+
type: label
10+
localIdentifier: a1
11+
filters: []
12+
measures:
13+
- definition:
14+
measure:
15+
computeRatio: false
16+
filters: []
17+
item:
18+
identifier:
19+
id: order_amount
20+
type: metric
21+
localIdentifier: m1
22+
resultSpec:
23+
dimensions:
24+
- itemIdentifiers:
25+
- a1
26+
localIdentifier: dim_0
27+
- itemIdentifiers:
28+
- measureGroup
29+
localIdentifier: dim_1
30+
headers:
31+
Accept:
32+
- application/json
33+
Accept-Encoding:
34+
- br, gzip, deflate
35+
Content-Type:
36+
- application/json
37+
X-GDC-VALIDATE-RELATIONS:
38+
- 'true'
39+
X-Requested-With:
40+
- XMLHttpRequest
41+
method: POST
42+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
43+
response:
44+
body:
45+
string:
46+
executionResponse:
47+
dimensions:
48+
- headers:
49+
- attributeHeader:
50+
attribute:
51+
id: region
52+
type: attribute
53+
attributeName: Region
54+
granularity: null
55+
label:
56+
id: region
57+
type: label
58+
labelName: Region
59+
localIdentifier: a1
60+
primaryLabel:
61+
id: region
62+
type: label
63+
valueType: TEXT
64+
localIdentifier: dim_0
65+
- headers:
66+
- measureGroupHeaders:
67+
- format: $#,##0
68+
localIdentifier: m1
69+
name: Order Amount
70+
localIdentifier: dim_1
71+
links:
72+
executionResult: EXECUTION_NORMALIZED_1
73+
headers:
74+
Content-Type:
75+
- application/json
76+
DATE:
77+
- PLACEHOLDER
78+
Expires:
79+
- '0'
80+
Pragma:
81+
- no-cache
82+
X-Content-Type-Options:
83+
- nosniff
84+
X-GDC-CANCEL-TOKEN:
85+
- PLACEHOLDER
86+
X-GDC-TRACE-ID:
87+
- PLACEHOLDER
88+
status:
89+
code: 200
90+
message: OK
91+
- request:
92+
body: null
93+
headers:
94+
Accept:
95+
- application/json
96+
Accept-Encoding:
97+
- br, gzip, deflate
98+
X-GDC-VALIDATE-RELATIONS:
99+
- 'true'
100+
X-Requested-With:
101+
- XMLHttpRequest
102+
method: GET
103+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/EXECUTION_NORMALIZED_1?offset=0%2C0&limit=100%2C100
104+
response:
105+
body:
106+
string:
107+
detail: An error has occurred while calculating the result
108+
reason: Cannot reach the URL
109+
resultId: 6e49101dcdb52337d1094da18f1727bcd11a9fe9
110+
status: 400
111+
title: Bad Request
112+
traceId: NORMALIZED_TRACE_ID_000000000000
113+
headers:
114+
Content-Type:
115+
- application/problem+json
116+
DATE:
117+
- PLACEHOLDER
118+
Expires:
119+
- '0'
120+
Pragma:
121+
- no-cache
122+
X-Content-Type-Options:
123+
- nosniff
124+
X-GDC-TRACE-ID:
125+
- PLACEHOLDER
126+
status:
127+
code: 400
128+
message: Bad Request
129+
version: 1

read-files.json

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
{
2+
"reads": [
3+
{
4+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/model/execution.py",
5+
"count": 5
6+
},
7+
{
8+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/compute/test_bare_execution_response.py",
9+
"count": 4
10+
},
11+
{
12+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/gooddata-api-client/gooddata_api_client/model/execution_result.py",
13+
"count": 2
14+
},
15+
{
16+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/schemas/gooddata-afm-client.json",
17+
"count": 2
18+
},
19+
{
20+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/table/test_table.py",
21+
"count": 2
22+
},
23+
{
24+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/cluster.json",
25+
"count": 1
26+
},
27+
{
28+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.py",
29+
"count": 1
30+
},
31+
{
32+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.py",
33+
"count": 1
34+
},
35+
{
36+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py",
37+
"count": 1
38+
},
39+
{
40+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/table.py",
41+
"count": 1
42+
},
43+
{
44+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/compute/test_compute_service.py",
45+
"count": 1
46+
},
47+
{
48+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/conftest.py",
49+
"count": 1
50+
},
51+
{
52+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/__init__.py",
53+
"count": 1
54+
},
55+
{
56+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.py",
57+
"count": 1
58+
},
59+
{
60+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/gooddata-api-client/gooddata_api_client/model_utils.py",
61+
"count": 1
62+
},
63+
{
64+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/pyproject.toml",
65+
"count": 1
66+
},
67+
{
68+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/__init__.py",
69+
"count": 1
70+
},
71+
{
72+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/model/__init__.py",
73+
"count": 1
74+
},
75+
{
76+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/compute_model/test_compute_model.py",
77+
"count": 1
78+
},
79+
{
80+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/service.py",
81+
"count": 1
82+
},
83+
{
84+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/tests-support/src/tests_support/vcrpy_utils.py",
85+
"count": 1
86+
},
87+
{
88+
"path": "/home/runner/_work/gdc-nas/gdc-nas/sdk/packages/gooddata-sdk/tests/compute/test_execution_result_limit_break.py",
89+
"count": 1
90+
}
91+
],
92+
"globs": [
93+
{
94+
"pattern": "packages/gooddata-sdk/gooddata_sdk/**/*.py",
95+
"count": 2
96+
},
97+
{
98+
"pattern": "cluster.json",
99+
"count": 1
100+
},
101+
{
102+
"pattern": "gooddata-sdk/gooddata_sdk/**/*.py",
103+
"count": 1
104+
},
105+
{
106+
"pattern": "gooddata-api-client/**/*.py",
107+
"count": 1
108+
},
109+
{
110+
"pattern": "packages/**/*.py",
111+
"count": 1
112+
},
113+
{
114+
"pattern": "packages/gooddata-sdk/src/**/*.py",
115+
"count": 1
116+
},
117+
{
118+
"pattern": "packages/gooddata-sdk/src/gooddata_sdk/compute/**/*.py",
119+
"count": 1
120+
},
121+
{
122+
"pattern": "gooddata-afm-client/**/*.py",
123+
"count": 1
124+
},
125+
{
126+
"pattern": "packages/gooddata-api-client/**/*.py",
127+
"count": 1
128+
},
129+
{
130+
"pattern": "gooddata-api-client/gooddata_api_client/models/__init__.py",
131+
"count": 1
132+
},
133+
{
134+
"pattern": "schemas/*.json",
135+
"count": 1
136+
},
137+
{
138+
"pattern": "**/gooddata-afm-client.json",
139+
"count": 1
140+
},
141+
{
142+
"pattern": "packages/gooddata-sdk/tests/**/*.py",
143+
"count": 1
144+
},
145+
{
146+
"pattern": "packages/gooddata-sdk/tests/compute/**/*",
147+
"count": 1
148+
},
149+
{
150+
"pattern": "packages/gooddata-sdk/tests/compute_model/test_compute_model.py",
151+
"count": 1
152+
},
153+
{
154+
"pattern": "packages/gooddata-sdk/tests/table/fixtures/*.yaml",
155+
"count": 1
156+
},
157+
{
158+
"pattern": "packages/gooddata-sdk/tests/compute/fixtures/*.yaml",
159+
"count": 1
160+
},
161+
{
162+
"pattern": "/home/runner/_work/_tool/Python/3.12.13/x64/lib/python3.12/site-packages/gooddata*",
163+
"count": 1
164+
},
165+
{
166+
"pattern": "/home/runner/**/*.pth",
167+
"count": 1
168+
},
169+
{
170+
"pattern": "packages/gooddata-sdk/tests/compute/*",
171+
"count": 1
172+
}
173+
],
174+
"greps": [
175+
{
176+
"pattern": "ExecutionResult|execution_result|compute_to_sdk|LimitBreak|limit_break",
177+
"scope": "packages/gooddata-sdk/src"
178+
},
179+
{
180+
"pattern": "ExecutionResultLimitBreak|limit_break|limitBreak",
181+
"scope": "gooddata-api-client"
182+
},
183+
{
184+
"pattern": "ExecutionResultLimitBreak|limit_break|limitBreak",
185+
"scope": "packages/gooddata-sdk"
186+
},
187+
{
188+
"pattern": "ExecutionResult|execution_result_limit|LimitBreak|limit_break",
189+
"scope": "gooddata-api-client/gooddata_api_client/models/__init__.py"
190+
},
191+
{
192+
"pattern": "ExecutionResultLimitBreak|limitBreaks|limit_breaks",
193+
"scope": "schemas/gooddata-afm-client.json"
194+
},
195+
{
196+
"pattern": "ExecutionResultLimitBreak|limitBreaks|limit_breaks",
197+
"scope": "schemas"
198+
},
199+
{
200+
"pattern": "limitBreaks|limit_breaks|ExecutionResultLimitBreak",
201+
"scope": "schemas/gooddata-afm-client.json"
202+
},
203+
{
204+
"pattern": "\\\"ExecutionResult\\\"",
205+
"scope": "schemas/gooddata-afm-client.json"
206+
},
207+
{
208+
"pattern": "limitBreak|LimitBreak|limit_break",
209+
"scope": "schemas"
210+
},
211+
{
212+
"pattern": "limitBreak|LimitBreak|limit_break",
213+
"scope": "gooddata-api-client"
214+
},
215+
{
216+
"pattern": "def __getitem__",
217+
"scope": "gooddata-api-client/gooddata_api_client/model_utils.py"
218+
},
219+
{
220+
"pattern": "def set_attribute",
221+
"scope": "gooddata-api-client/gooddata_api_client/model_utils.py"
222+
},
223+
{
224+
"pattern": "def change_keys_js_to_python",
225+
"scope": "gooddata-api-client/gooddata_api_client/model_utils.py"
226+
},
227+
{
228+
"pattern": "def deserialize_model",
229+
"scope": "gooddata-api-client"
230+
},
231+
{
232+
"pattern": "def convert_js_args_to_python_args",
233+
"scope": "gooddata-api-client/gooddata_api_client/model_utils.py"
234+
},
235+
{
236+
"pattern": "RecordMode|OVERWRITE|makedirs|mkdir",
237+
"scope": "packages/tests-support/src/tests_support/vcrpy_utils.py"
238+
}
239+
]
240+
}

0 commit comments

Comments
 (0)