tumblrbot 1.2.0__py3-none-any.whl → 1.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tumblrbot/utils/models.py CHANGED
@@ -23,7 +23,7 @@ class Post(FullyValidatedModel):
23
23
  blocks: list[int] = [] # noqa: RUF012
24
24
 
25
25
  timestamp: SkipJsonSchema[int] = 0
26
- tags: Annotated[SkipJsonSchema[list[str]], PlainSerializer(",".join)] = [] # noqa: RUF012
26
+ tags: Annotated[list[str], PlainSerializer(",".join)] = [] # noqa: RUF012
27
27
  state: SkipJsonSchema[Literal["published", "queued", "draft", "private", "unapproved"]] = "published"
28
28
 
29
29
  content: SkipJsonSchema[list[Block]] = [] # noqa: RUF012
tumblrbot/utils/tumblr.py CHANGED
@@ -19,7 +19,6 @@ class TumblrClient(OAuth2Session):
19
19
  auto_refresh_kwargs={
20
20
  "client_id": self.tokens.tumblr_client_id.get_secret_value(),
21
21
  "client_secret": self.tokens.tumblr_client_secret.get_secret_value(),
22
- "token": self.tokens.tumblr_token.get_secret_value(),
23
22
  },
24
23
  token=self.tokens.tumblr_token.get_secret_value(),
25
24
  token_updater=self.token_updater,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: An updated bot that posts to Tumblr, based on your very own blog!
5
5
  Requires-Python: >= 3.13
6
6
  Description-Content-Type: text/markdown
@@ -7,10 +7,10 @@ tumblrbot/flow/fine_tune.py,sha256=AWBxlHfQDDIGku1oZaaMNQtNw3yOaScq6QMgI8sJhd0,3
7
7
  tumblrbot/flow/generate.py,sha256=MJm1U9be0xJ8Lddtpe4K16mojjk9OYwG5qd8A8hLWfs,2090
8
8
  tumblrbot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  tumblrbot/utils/common.py,sha256=3PPyutv7yyjvij5anyKQRDRn7lrr8Eu05m8XVhh74Hc,1342
10
- tumblrbot/utils/models.py,sha256=OpPSIsSYx1wsLyK7Aj2R6RMf83YRtPhxvuUnYYUSRcQ,2035
10
+ tumblrbot/utils/models.py,sha256=gd_J_pW07K0kwvUQt8gwiIpnjj67XXU3KtHxHHn9h1g,2019
11
11
  tumblrbot/utils/settings.py,sha256=tsuoYX-EGtuUXh4OK99FPUG2SHPmT2l4F1LjbEq1rWI,8044
12
- tumblrbot/utils/tumblr.py,sha256=KVUTmLR3iPdXlluScMx5Ws9E7WQQ8wVj1C2CmvxXGw8,1925
13
- tumblrbot-1.2.0.dist-info/entry_points.txt,sha256=lTiN7PxAbyGY1fpCWApEw6NUIUgobfcOKhvn6cu3IQA,53
14
- tumblrbot-1.2.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
15
- tumblrbot-1.2.0.dist-info/METADATA,sha256=h2ICiXCeECph8gMrB4LQDwVh_i4ajSsgbDyUyv-5vQM,4652
16
- tumblrbot-1.2.0.dist-info/RECORD,,
12
+ tumblrbot/utils/tumblr.py,sha256=PosLqlTrlB1xvCQl9Ta_vf9A2BZ2pv8DG9kM_tbaK_0,1854
13
+ tumblrbot-1.2.1.dist-info/entry_points.txt,sha256=lTiN7PxAbyGY1fpCWApEw6NUIUgobfcOKhvn6cu3IQA,53
14
+ tumblrbot-1.2.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
15
+ tumblrbot-1.2.1.dist-info/METADATA,sha256=fDAso44LHu0fdeuKrrmldR3qcylf2ApmbQYBypGOy9k,4652
16
+ tumblrbot-1.2.1.dist-info/RECORD,,