tumblrbot 1.1.3__tar.gz → 1.1.5__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.
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/PKG-INFO +1 -1
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/pyproject.toml +1 -1
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/utils/models.py +3 -3
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/.github/dependabot.yml +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/.gitignore +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/README.md +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/UNLICENSE +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/__init__.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/__main__.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/flow/__init__.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/flow/download.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/flow/examples.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/flow/fine_tune.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/flow/generate.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/utils/__init__.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/utils/common.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/utils/settings.py +0 -0
- {tumblrbot-1.1.3 → tumblrbot-1.1.5}/src/tumblrbot/utils/tumblr.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from typing import Any, Literal, override
|
|
1
|
+
from typing import Annotated, Any, Literal, override
|
|
2
2
|
|
|
3
3
|
from openai import BaseModel
|
|
4
|
-
from pydantic import ConfigDict
|
|
4
|
+
from pydantic import ConfigDict, PlainSerializer
|
|
5
5
|
from pydantic.json_schema import SkipJsonSchema
|
|
6
6
|
from rich.panel import Panel
|
|
7
7
|
|
|
@@ -23,7 +23,7 @@ class Post(FullyValidatedModel):
|
|
|
23
23
|
blocks: list[int] = [] # noqa: RUF012
|
|
24
24
|
|
|
25
25
|
timestamp: SkipJsonSchema[int] = 0
|
|
26
|
-
tags: list[str] = [] # noqa: RUF012
|
|
26
|
+
tags: Annotated[SkipJsonSchema[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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|