tumblrbot 1.2.0__tar.gz → 1.2.1__tar.gz

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tumblrbot"
3
- version = "1.2.0"
3
+ version = "1.2.1"
4
4
  description = "An updated bot that posts to Tumblr, based on your very own blog!"
5
5
  readme = "README.md"
6
6
  requires-python = ">= 3.13"
@@ -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
@@ -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,
File without changes
File without changes
File without changes