Skip to content

Conversation

@Springff
Copy link

Literal 不能接收动态生成的元组,用 Pydantic 的 field_validator 替代 Literal 做动态校验

Literal 不能接收动态生成的元组,用 Pydantic 的 field_validator 替代 Literal 做动态校验
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

Successfully merging this pull request may close these issues.

1 participant