Skip to content

Commit

Permalink
🐛 fix version 0.30.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Oct 26, 2023
1 parent a821473 commit 1b0c529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nonebot_plugin_alconna/uniseg/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from pathlib import Path
from base64 import b64decode
from datetime import datetime
from typing_extensions import NotRequired, TypedDict
from dataclasses import field, asdict, dataclass
from typing_extensions import TypedDict, NotRequired
from typing import (
TYPE_CHECKING,
Any,
Expand Down Expand Up @@ -63,7 +63,7 @@ class Segment:
"""基类标注"""

if TYPE_CHECKING:
origin: MessageSegment # = field(init=False, repr=False, compare=False)
origin: MessageSegment # = field(init=False, repr=False, compare=False)

def __str__(self):
return f"[{self.__class__.__name__.lower()}]"
Expand Down

0 comments on commit 1b0c529

Please sign in to comment.