Skip to content

Commit 1a9ee7f

Browse files
authored
Merge pull request #656 from codeflash-ai/fix/staging-missing-args
[Fix] Missing Arguments in create_staging
2 parents edaa443 + f3e2acd commit 1a9ee7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

codeflash/api/cfapi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ def create_staging(
203203
generated_original_test_source: str,
204204
function_trace_id: str,
205205
coverage_message: str,
206+
replay_tests: str = "",
207+
concolic_tests: str = "",
206208
) -> Response:
207209
"""Create a staging pull request, targeting the specified branch. (usually 'staging').
208210
@@ -243,6 +245,8 @@ def create_staging(
243245
"generatedTests": generated_original_test_source,
244246
"traceId": function_trace_id,
245247
"coverage_message": coverage_message,
248+
"replayTests": replay_tests,
249+
"concolicTests": concolic_tests,
246250
}
247251

248252
return make_cfapi_request(endpoint="/create-staging", method="POST", payload=payload)

0 commit comments

Comments
 (0)