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

Make all default send_* funcs return result of <message_class>.send() #277

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

mgrdcm
Copy link
Contributor

@mgrdcm mgrdcm commented Jun 11, 2024

Right now 2 implicitly return this already, and 2 explicitly only return True if it gets that far.

This is technically a breaking change, though as far as I can tell the return values of those functions aren't documented right now so...

Note that the modeled.ModelInvitation's version already does exactly this explicitly.

(note was originally gonna unify these like #276 but this is just as half-backwards-compatible and also exposes more useful information)

…d()`

Right now 2 implicitly return this already, and 2 explicitly only return `True` if it gets that far.

Note that the `modeled.ModelInvitation`'s version already does exactly this explicitly.
@bennylope
Copy link
Owner

Good idea!

@bennylope bennylope merged commit 12063d1 into bennylope:master Jun 11, 2024
5 checks passed
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