We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900de50 commit ee6749fCopy full SHA for ee6749f
1 file changed
codeflash/api/schemas.py
@@ -194,9 +194,7 @@ class TestGenRequest:
194
def to_payload(self) -> dict[str, Any]:
195
"""Convert to API payload dict, maintaining backward compatibility."""
196
# Backward compat: backend still expects python_version
197
- python_version = (
198
- self.language_info.version if self.language_info.name == "python" else _PLATFORM_PYTHON_VERSION
199
- )
+ python_version = self.language_info.version if self.language_info.name == "python" else _PLATFORM_PYTHON_VERSION
200
201
payload = {
202
"source_code_being_tested": self.source_code,
0 commit comments