Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions codeflash/api/cfapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def create_staging(
generated_original_test_source: str,
function_trace_id: str,
coverage_message: str,
replay_tests: str,
concolic_tests: str,
) -> Response:
"""Create a staging pull request, targeting the specified branch. (usually 'staging').

Expand Down Expand Up @@ -243,6 +245,8 @@ def create_staging(
"generatedTests": generated_original_test_source,
"traceId": function_trace_id,
"coverage_message": coverage_message,
"replayTests": replay_tests,
"concolicTests": concolic_tests,
}

return make_cfapi_request(endpoint="/create-staging", method="POST", payload=payload)
Expand Down
Loading