Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

filter accepts a Message by default, not an Update#1596

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
ema-pe wants to merge3 commits intopython-telegram-bot:masterfromema-pe:fix-doc-filter
Closed

filter accepts a Message by default, not an Update#1596

ema-pe wants to merge3 commits intopython-telegram-bot:masterfromema-pe:fix-doc-filter

Conversation

ema-pe
Copy link

@ema-peema-pe commentedNov 1, 2019
edited by Bibo-Joshi
Loading

The methodBaseFilter.filter() accepts aMessage by default. Only if
class attributeupdate_filter is set toTrue the method accepts an
Update.

This pull request provides a commit that emphasizes this behaviour, because one can misunderstand it.

Closes:#1595

The method BaseFilter.filter() accepts a Message by default. Only ifclass attribute 'update_filter' is set to True the method accepts anUpdate.
@Bibo-Joshi
Copy link
Member

@ema-pe I merged master so tests will succeed and changed the last line of the PR description so it will automatically close#1595 on merge :)

@Bibo-JoshiBibo-Joshi added ⚙️ documentationaffected functionality: documentation 📋 pending-mergework status: pending-merge labelsNov 18, 2019
@Bibo-JoshiBibo-Joshi added this to the12.4 milestoneNov 18, 2019
@ema-pe
Copy link
Author

ema-pe commentedNov 19, 2019 via email

Good!--Emanuele Petriglia (ema-pe)Sent from my mobile. Please excuse my brevity.
On 18 November 2019 19:36:50 CET, Bibo-Joshi ***@***.***> wrote:@ema-pe I merged master so tests will succeed and changed the last lineof the PR description so it will automatically close#1595 on merge :)--You are receiving this because you were mentioned.Reply to this email directly or view it on GitHub:#1596 (comment)

@Bibo-JoshiBibo-Joshi removed the 📋 pending-mergework status: pending-merge labelJan 26, 2020
@Bibo-JoshiBibo-Joshi modified the milestones:12.4,13.0Jan 26, 2020
@Bibo-Joshi
Copy link
Member

After some discussion, we're actually a bit unsure about this change. Hence, I move this PR to Milestone 13. We'll need some more internal discussion before making a decision.

@Bibo-Joshi
Copy link
Member

We decided to go another way in#2032, so I'll be closing this. Still, thank you for PRing :)

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsAug 17, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@Bibo-JoshiBibo-JoshiBibo-Joshi approved these changes

@PoolitzerPoolitzerPoolitzer approved these changes

Assignees
No one assigned
Labels
⚙️ documentationaffected functionality: documentation
Projects
None yet
Milestone
13.0
Development

Successfully merging this pull request may close these issues.

Custom Filters: Wiki and code are in conflict
3 participants
@ema-pe@Bibo-Joshi@Poolitzer

[8]ページ先頭

©2009-2025 Movatter.jp