Skip to content

Conversation

@smalyu
Copy link

@smalyu smalyu commented Apr 30, 2025

Updates the type annotation of the size parameter in the images.edit method to match the official documentation.

Currently, the annotation is missing the valid options "1536x1024", "1024x1536", and "auto". As a result, IDEs and type checkers incorrectly flag valid resolutions as errors, causing unnecessary developer pain and triggering existential crises for perfectionists everywhere. 😅

This fix only affects type annotations and does not change runtime behavior.

@smalyu smalyu requested a review from a team as a code owner April 30, 2025 13:51
@RobertCraigie
Copy link
Collaborator

thanks for the PR! sorry for the delayed review, looks like this has since been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants