From 31a00f07c19bf057bca0834f541eae581cd80a0c Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 19 Nov 2022 00:15:54 +0200 Subject: some more tests --- mastodon/Mastodon.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 493d485..f49df83 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -3934,6 +3934,8 @@ class Mastodon: Checks if id is a dict that contains id and returns the id inside, otherwise just returns the id straight. + + Also unpacks datetimes to snowflake IDs if requested. """ if isinstance(id, dict) and "id" in id: id = id["id"] -- cgit v1.2.3