Skip to content

Commit

Permalink
fix(xhs): let ip_location to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
iiicebearrr committed Feb 6, 2024
1 parent f7dac22 commit 0901dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spiders-for-all"
version = "0.3.7"
version = "0.3.8"
description = ""
authors = ["icebear <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion spiders_for_all/spiders/xhs/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class XhsNotesComments(BaseTable):
comment_id: orm.Mapped[str] = orm.mapped_column(unique=True)
note_id: orm.Mapped[str]
content: orm.Mapped[str]
ip_location: orm.Mapped[str]
ip_location: orm.Mapped[str] = orm.mapped_column(nullable=True)
like_count: orm.Mapped[int]
liked: orm.Mapped[bool]
target_comment_id: orm.Mapped[t.Optional[str]] = orm.mapped_column(
Expand Down

0 comments on commit 0901dcb

Please sign in to comment.