aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-30 23:47:46 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-30 23:47:46 +0200
commitd9cd7547fd0919a46b79ede084910b7df66f8fd7 (patch)
treed6679e8cd0ad6f3489b0ec5f55fd579de45290e1 /mastodon/accounts.py
parent48f1d31c72de4ce93f19e1235ca06c2b8f9058fa (diff)
downloadmastodon.py-d9cd7547fd0919a46b79ede084910b7df66f8fd7.tar.gz
Move some more methods, fix crypto heckup
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)