Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 search_illust 中 filter 参数的问题 #370

Open
ETO-QSH opened this issue Nov 13, 2024 · 0 comments
Open

关于 search_illust 中 filter 参数的问题 #370

ETO-QSH opened this issue Nov 13, 2024 · 0 comments

Comments

@ETO-QSH
Copy link

ETO-QSH commented Nov 13, 2024

当我在 aapi.search_illust 函数中传入 filter 参数时,出现以下问题:
{'error': {'user_message': '', 'message': '{"filter":["filter contains invalid value"]}', 'reason': '', 'user_message_details': {}}}
(实际上我是这样写 filter="for_ios" if filter else "" )
我尝试了传入空字符串,也存在上面的问题,当我不传入此参数时则不存在错误。
我注意到我的 ide 提示 filter: Literal["for_ios", ""] = "for_ios", 以及 aapi.py 中 filter: _FILTER = "for_ios",
请问是我存在什么误解吗,还是此参数不再生效了

补充一下,search_user也存在同样的问题,illust_ranking不存在问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant