Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strike mention of vestigial class from error message #2799

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

mwaskom
Copy link
Contributor

@mwaskom mwaskom commented Jan 23, 2025

I didn't even know AioImage was a thing! 😁

@mwaskom mwaskom requested a review from freider January 23, 2025 18:21
@mwaskom mwaskom force-pushed the michael/2025-01-23-update-app-image-error branch from aea3882 to 98a29e2 Compare January 23, 2025 18:21
@mwaskom
Copy link
Contributor Author

mwaskom commented Jan 23, 2025

@prbot approve

Copy link

@modal-pr-review-automation modal-pr-review-automation bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍. @freider will follow-up review this.

@mwaskom mwaskom merged commit 37aa93f into main Jan 23, 2025
23 checks passed
@mwaskom mwaskom deleted the michael/2025-01-23-update-app-image-error branch January 23, 2025 20:13
Copy link
Contributor

@freider freider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe yeah, synchronicity used to generate distinct types for sync vs async interfaces, so when using async you'd always have to use AioImage etc.

It had its advantages (not being able to accidentally use blocking methods if some async method returned an async type). Don't actually remember all of the reasoning for merging the objects, but I think one reason was that de-serialization of serialized Modal objects was hard to get consistently working like users wanted (i.e. should a serialized *Image be decoded as an Image or an AioImage?)

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