Remove async from filter and sample functions
authorChristian Teijon <christian13@gmail.com>
Wed, 12 May 2021 19:14:00 +0000 (21:14 +0200)
committerChristian Teijon <christian13@gmail.com>
Wed, 12 May 2021 19:14:00 +0000 (21:14 +0200)
commit0ee3935511fc915c510fd4a9dcf78f1307e7beae
treeb3e2e66660ebf94b1865551e725eff332b172994
parentba43a97eb65a9b2a9b519183226210cec858a832
Remove async from filter and sample functions

Since these functions just return a task, they
don't need to be async.
If the async is left, it forces us to use
an unnecessary and confussing extra await when
calling them, and then another one on the task
they return.
tweepy/asynchronous/streaming.py