Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@booxter
Copy link
Contributor

@booxter booxter commented Aug 8, 2024

Pydantic field is defined as list, but in pydantic world, it means more than just lists. E.g. it allows tuples.

https://docs.pydantic.dev/2.0/usage/types/list_types/

This patch fixes the TypeError raised from the attempt to concatenate a list with a tuple.

Related: instructlab/instructlab#2021

Pydantic field is defined as `list`, but in pydantic world, it means
more than just lists. E.g. it allows tuples.

https://docs.pydantic.dev/2.0/usage/types/list_types/

This patch fixes the TypeError raised from the attempt to concatenate a
list with a tuple.

Related: instructlab/instructlab#2021

Signed-off-by: Ihar Hrachyshka <[email protected]>
Copy link
Member

@RobotSail RobotSail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it works

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.

2 participants