From 087c49b1993114b1cd2f4b130999197e28cc6cc1 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 17 Apr 2018 17:21:16 +0200 Subject: Small fix to account_search --- mastodon/Mastodon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mastodon/Mastodon.py') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 5f1edb3..589d487 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -687,10 +687,11 @@ class Mastodon: params) @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 - 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`_. """ -- cgit v1.2.3