diff options
Diffstat (limited to 'mastodon/accounts.py')
-rw-r--r-- | mastodon/accounts.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mastodon/accounts.py b/mastodon/accounts.py index dcdd8de..5ecdf93 100644 --- a/mastodon/accounts.py +++ b/mastodon/accounts.py | |||
@@ -2,7 +2,9 @@ from .defaults import _DEFAULT_SCOPES, _SCOPE_SETS | |||
2 | from .error import MastodonIllegalArgumentError, MastodonAPIError | 2 | from .error import MastodonIllegalArgumentError, MastodonAPIError |
3 | from .utility import api_version | 3 | from .utility import api_version |
4 | 4 | ||
5 | class Mastodon(): | 5 | from .internals import Mastodon as Internals |
6 | |||
7 | class Mastodon(Internals): | ||
6 | @api_version("2.7.0", "2.7.0", "3.4.0") | 8 | @api_version("2.7.0", "2.7.0", "3.4.0") |
7 | def create_account(self, username, password, email, agreement=False, reason=None, locale="en", scopes=_DEFAULT_SCOPES, to_file=None, return_detailed_error=False): | 9 | def create_account(self, username, password, email, agreement=False, reason=None, locale="en", scopes=_DEFAULT_SCOPES, to_file=None, return_detailed_error=False): |
8 | """ | 10 | """ |