You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pydantic_core._pydantic_core.ValidationError: 10 validation errors for NvAPIResponse[VideoSearchData] data.items.2.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.14.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.15.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.16.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.17.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.18.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.19.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.20.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.21.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.22.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error
再現手順
検索を行うとエラーになります
期待動作
niconico.pyのバージョン
2.0.9
OSの種類/ディストリ/バージョン
Windows
macOS
Linux
Windows 11 Pro 64bit
その他
The text was updated successfully, but these errors were encountered:
概要
video/init.pyのOwnerクラスの_typeの問題
現象・ログ
pydantic_core._pydantic_core.ValidationError: 10 validation errors for NvAPIResponse[VideoSearchData] data.items.2.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.14.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.15.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.16.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.17.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.18.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.19.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.20.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.21.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error data.items.22.owner.type Input should be 'user' or 'unknown' [type=literal_error, input_value='channel', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/literal_error
再現手順
検索を行うとエラーになります
期待動作
niconico.pyのバージョン
2.0.9
OSの種類/ディストリ/バージョン
Windows 11 Pro 64bit
その他
The text was updated successfully, but these errors were encountered: