Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MessageQueue: fixed args dispatching in decorator #705

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

Merged
merged 1 commit into from
Jul 8, 2017
Merged

MessageQueue: fixed args dispatching in decorator #705

merged 1 commit into from
Jul 8, 2017

Conversation

thodnev
Copy link
Member

@thodnev thodnev commented Jul 2, 2017

The devil is in detail, it didn't work because I forgot to add self to args tuple during dispatching.

Finally it's alive and breathing. See the screenshot (reply time of messages). I also add a simple example, which demonstrates MessageQueue usage.

Again, for now its only 90% of work done and MQ is already usable. But the next step is its proper native incorporation into Bot class without all these dirty decorator tricks.
Also seems that we need to dedicate at least one wiki page on how MQ works and how to use it.

The next week I plan to dedicate myself working on it.
times

test_example.py

@thodnev thodnev requested review from jh0ker and JosXa July 2, 2017 19:18
@jh0ker
Copy link
Member

jh0ker commented Jul 5, 2017

I also add a simple example, which demonstrates MessageQueue usage.

Is it not included in this PR?

@thodnev
Copy link
Member Author

thodnev commented Jul 5, 2017

@jh0ker Example is in link under the image

@thodnev thodnev merged commit f72f409 into python-telegram-bot:messagequeue-quickfix Jul 8, 2017
@thodnev thodnev deleted the messagequeue-quickfix branch July 8, 2017 04:30
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants