Lorenz Diener
13725053a3
Merge pull request #385 from AlexKalopsia/master
...
Add API call for getting multiple accounts at once
2024-12-01 15:02:09 +02:00
Lorenz Diener
6715ff3ebd
Merge pull request #389 from Konano/patch-1
...
fix: prevent dynamic changes to keyword_args/poll_params
2024-12-01 15:01:24 +02:00
halcy
9ba51c42fa
a bunch of fixes to entities and typing, pre starting to merge some PRs
2024-12-01 14:56:08 +02:00
Konano
e3a16f4fd5
fix(polls): prevent dynamic changes to `poll_params`
2024-11-22 18:17:09 +08:00
Nano
02dd7967cb
fix(statuses): prevent dynamic changes to `keyword_args`
...
The use of `locals()` in status_reply caused issues due to its dynamic nature. When `user_id = self.__get_logged_in_id()` was executed, `locals()` dynamically updated `keyword_args` to include the `self` reference again, even after it was explicitly deleted. This led to a TypeError: `Mastodon.status_post() got multiple values for argument 'self'`.
This commit resolves the issue by replacing `keyword_args = locals()` with `keyword_args = locals().copy()`. By creating a static copy of the local variables at the time of execution, it prevents unintended modifications caused by dynamic changes to the local scope.
Fixed #388
2024-11-22 18:02:48 +08:00
Alex Camilleri
fba5e6a9e6
key fix
2024-10-23 01:32:35 +02:00
Alex Camilleri
a99d5a83c9
Reverted some auto formatting
2024-10-23 01:26:52 +02:00
Alex Camilleri
5342fd8f7a
Get multiple accounts
2024-10-22 23:58:14 +02:00
halcy
47aa316c36
different variant
2024-02-11 23:33:50 +02:00
halcy
cf2dd589eb
and another attempt
2024-02-11 23:22:09 +02:00
halcy
79dd1817d6
please work
2024-02-11 23:19:34 +02:00
halcy
67449481ef
try that again
2024-02-11 23:11:38 +02:00
halcy
6cfc3b0b8f
gimme that sphinx-rtd
2024-02-11 23:07:51 +02:00
halcy
bc1ad13aa2
unfuck docs build
2024-02-11 23:02:12 +02:00
halcy
da89481a2f
add research note to docs
2024-02-11 22:53:49 +02:00
halcy
9989dfb9e1
add citation file
2024-02-11 22:43:46 +02:00
halcy
c4e0a40a78
add py.typed marker
2024-02-11 22:38:14 +02:00
halcy
7d097a9606
add some more eeping and redo casettes. maybe that will resolve ordering problems?
2024-02-11 16:24:06 +02:00
halcy
a0d9ce32db
try something else
2024-02-11 16:11:17 +02:00
halcy
9083ad4e59
try making the matching more lax
2024-02-11 16:03:45 +02:00
halcy
8713b8670d
another attempt at unfucking the CI
2024-02-11 15:52:06 +02:00
halcy
9d2fa016f1
add retrying
2024-02-11 15:32:41 +02:00
halcy
c64ff0c7a7
remove flake check, maybe it is fine now
2024-02-11 15:24:33 +02:00
halcy
787b44f7e2
can't require new vcrpy on 3.7
2024-02-11 15:21:50 +02:00
halcy
936b77e2ed
change some internals and rerun tests, lets see how CI likes this
2024-02-11 15:18:53 +02:00
Lorenz Diener
5b64a35cd3
Merge pull request #350 from Teqed/master
...
add offset parameter to trending_statuses
2024-02-11 13:30:09 +02:00
Lorenz Diener
0d823b23e6
Merge pull request #362 from ashwinvis/patch-1
...
Format docstring for visibility parameter
2024-02-11 13:29:35 +02:00
Lorenz Diener
1526c116ce
Merge pull request #355 from lasseedfast/patch-1
...
Clarify the use of 'code' in log_in()
2024-02-11 13:28:17 +02:00
Lorenz Diener
b45a27a406
Merge pull request #360 from a-detiste/master
...
remove six dependecy
2024-02-11 13:25:17 +02:00
Lorenz Diener
ed23668cae
Merge pull request #366 from leahoswald/master
...
Update 10_streaming.rst (auth needed)
2024-02-11 13:22:30 +02:00
Lorenz Diener
dc24df67e6
Update config.yml
...
update ci config, run on 3.12, try to run coverage on 3.12
2024-02-11 13:11:03 +02:00
Leah Oswald
2de6826c50
Update 10_streaming.rst (auth needed)
...
Since mastodon 4.2.0 the support for anonymous streaming API access was dropped. Change docs accordingly.
2024-01-19 19:59:42 +01:00
Ashwin V. Mohanan
b09c8915da
Update docstring for visibility with how it is know in Mastodon's UI
2023-11-18 23:27:34 +01:00
Ashwin V. Mohanan
836f3c8283
Format docstring for visibility parameter
...
Without this change it is easy to get confused while reading the online docs.
https://mastodonpy.readthedocs.io/en/stable/05_statuses.html#status-post
2023-11-16 09:11:11 +01:00
Alexandre Detiste
1c891a445f
Revert "drop local compat helper too"
...
This reverts commit 690ece95d9
.
2023-10-15 17:58:49 +02:00
Alexandre Detiste
690ece95d9
drop local compat helper too
2023-10-15 17:48:42 +02:00
Alexandre Detiste
0f89d17812
temporary: try to make CI happy
2023-10-15 17:37:50 +02:00
Alexandre Detiste
945e8e670d
remove six dependecy
2023-10-15 17:26:44 +02:00
Lasse Edfast
5c28d1ba75
Clearified the use of 'code' in log_in()
2023-08-21 22:20:23 +02:00
Timothy Quilling
3b131b4286
add offset parameter to trending_statuses
2023-07-14 18:39:32 -04:00
halcy
cd86887d88
okay fuck this we're just skipping the flaky tests on 3.10 and doing coverage on 3.8 for fucking ever
2023-06-24 02:48:29 +03:00
halcy
8e21568d54
please go back to green
2023-06-24 02:40:28 +03:00
halcy
73199e966a
maybe remove monkey patch to make everything work fine by default
2023-06-24 02:34:54 +03:00
halcy
c7837530a4
test without streaming patch
2023-06-24 02:29:35 +03:00
halcy
cefc97bd64
another attempt at making streaming tests okay
2023-06-24 02:25:04 +03:00
halcy
3e37d0c345
try to workaround streaming test failures on CI
2023-06-24 02:15:46 +03:00
halcy
26c1133395
skip 2.9.2 on 3.10 upwards since json broke somehow
2023-06-24 01:56:19 +03:00
halcy
4b4ecfe669
remove print statements
2023-06-24 01:36:42 +03:00
halcy
64074295df
additional hate crimes
2023-06-24 01:31:51 +03:00
halcy
4941b9e386
additional crimes
2023-06-24 00:44:26 +03:00