aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon/accounts.py')
-rw-r--r--mastodon/accounts.py4
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
2from .error import MastodonIllegalArgumentError, MastodonAPIError 2from .error import MastodonIllegalArgumentError, MastodonAPIError
3from .utility import api_version 3from .utility import api_version
4 4
5class Mastodon(): 5from .internals import Mastodon as Internals
6
7class 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 """
Powered by cgit v1.2.3 (git 2.41.0)