kopia lustrzana https://github.com/halcy/Mastodon.py
Small fix to account_search
rodzic
b01edc49ee
commit
087c49b199
|
@ -687,10 +687,11 @@ class Mastodon:
|
||||||
params)
|
params)
|
||||||
|
|
||||||
@api_version("1.0.0", "2.1.0")
|
@api_version("1.0.0", "2.1.0")
|
||||||
def account_search(self, q, limit=None):
|
def account_search(self, q, limit=None. following=False):
|
||||||
"""
|
"""
|
||||||
Fetch matching accounts. Will lookup an account remotely if the search term is
|
Fetch matching accounts. Will lookup an account remotely if the search term is
|
||||||
in the username@domain format and not yet in the database.
|
in the username@domain format and not yet in the database. Set `following` to
|
||||||
|
True to limit the search to users the logged-in user follows.
|
||||||
|
|
||||||
Returns a list of `user dicts`_.
|
Returns a list of `user dicts`_.
|
||||||
"""
|
"""
|
||||||
|
|
Ładowanie…
Reference in New Issue