Skip to content

Commit ee6749f

Browse files
style: auto-fix ruff formatting in schemas.py
1 parent 900de50 commit ee6749f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

codeflash/api/schemas.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,7 @@ class TestGenRequest:
194194
def to_payload(self) -> dict[str, Any]:
195195
"""Convert to API payload dict, maintaining backward compatibility."""
196196
# 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-
)
197+
python_version = self.language_info.version if self.language_info.name == "python" else _PLATFORM_PYTHON_VERSION
200198

201199
payload = {
202200
"source_code_being_tested": self.source_code,

0 commit comments

Comments
 (0)