mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-14 19:57:27 +08:00
diva: fix typing
This commit is contained in:
@@ -163,7 +163,7 @@ class AttendResponse(BaseResponse):
|
||||
return ret
|
||||
|
||||
class SpendCreditRequest(BaseRequest):
|
||||
def __init__(self, raw: str | bytes) -> None:
|
||||
def __init__(self, raw: Union[str, bytes]) -> None:
|
||||
super().__init__(raw)
|
||||
try:
|
||||
self.pd_id = int(self.pd_id)
|
||||
|
||||
Reference in New Issue
Block a user