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

Remove a few references to 'Stub' #2542

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Remove a few references to 'Stub' #2542

merged 6 commits into from
Nov 20, 2024

Conversation

mwaskom
Copy link
Contributor

@mwaskom mwaskom commented Nov 20, 2024

Hides the Stub class from the API docs and removes a couple mentions where we glossed App with the old name.

@mwaskom mwaskom requested a review from erikbern November 20, 2024 16:05
@mwaskom
Copy link
Contributor Author

mwaskom commented Nov 20, 2024

@prbot approve; just docs small removals of old migration aids

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 👍. @erikbern will follow-up review this.

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 👍. @erikbern will follow-up review this.

if isinstance(app, App):
return app
elif app is not None and isinstance(stub, App):
deprecation_warning(
Copy link
Contributor

Choose a reason for hiding this comment

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

in hindsight maybe we should have escalated this into a deprecation error but it's been so long that i think it's fine to remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Magic behavior giveth and magic behavior taketh away.

@erikbern
Copy link
Contributor

exciting!

@mwaskom mwaskom merged commit cce7a1a into main Nov 20, 2024
21 checks passed
@mwaskom mwaskom deleted the michael/less-stub-chat branch November 20, 2024 22:35
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