执行 Ruff 安全自动修复
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"""登录接口策略基类"""
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Tuple
|
||||
|
||||
|
||||
class LoginAPIStrategy(ABC):
|
||||
@@ -78,7 +77,7 @@ class LoginAPIStrategy(ABC):
|
||||
"""构建提交验证码参数"""
|
||||
...
|
||||
|
||||
def extract_geetest_params(self, payload: dict) -> Tuple[str, str, str]:
|
||||
def extract_geetest_params(self, payload: dict) -> tuple[str, str, str]:
|
||||
"""从第一次登录响应提取极验参数
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user