Skip to content

Commit

Permalink
fix: update pydantic import
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMissx committed Jul 15, 2024
1 parent 7856e32 commit b8c099e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion anjani/internal_plugins/spam_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
InlineKeyboardMarkup,
Message,
)
from pydantic import BaseModel, field_validator
from pydantic import BaseModel
from pydantic.functional_validators import field_validator


from anjani import command, filters, listener, plugin, util
from anjani.core.metrics import SpamPredictionStat
Expand Down
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 = "anjani"
version = "2.14.9"
version = "2.14.11"
description = "Telegram group management bot"
license = "GPL-3.0-or-later"
authors = [
Expand Down

0 comments on commit b8c099e

Please sign in to comment.