diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-30 23:47:46 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-30 23:47:46 +0200 |
commit | d9cd7547fd0919a46b79ede084910b7df66f8fd7 (patch) | |
tree | d6679e8cd0ad6f3489b0ec5f55fd579de45290e1 /mastodon/accounts.py | |
parent | 48f1d31c72de4ce93f19e1235ca06c2b8f9058fa (diff) | |
download | mastodon.py-d9cd7547fd0919a46b79ede084910b7df66f8fd7.tar.gz |
Move some more methods, fix crypto heckup
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 | """ |