GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bad code generation · Issue #1318 · openapi-generators/openapi-python-client Closed DescriptionBug Report: Missing Closing Parenthesis in Generated Multipart Form Data CodeSummaryThe Environment
OpenAPI Specification
Bug DescriptionWhen generating code for the Generated (incorrect) code: files.append(("livePhotoVideoId", (None, str(self.live_photo_video_id), "text/plain")) Expected (correct) code: files.append(("livePhotoVideoId", (None, str(self.live_photo_video_id), "text/plain"))) Error DetailsThe missing parenthesis causes a cascade of syntax errors: Steps to Reproduce
Expected BehaviorThe generator should produce valid Python syntax with properly closed parentheses. Actual BehaviorThe generator produces invalid Python syntax with missing closing parentheses, causing the generated code to fail linting and runtime checks. Impact
WorkaroundCurrently, the issue must be manually fixed by adding the missing closing parenthesis to the affected line. Additional InformationThis appears to be a template rendering issue in the multipart form data generation logic. The bug is reproducible and occurs consistently in the same location. Reacted by Nico Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |