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

pydantic_to_feature(): support enum type & nested lists #5

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

dmpetrov
Copy link
Member

It closes iterative/dvcx#1676 iterative/dvcx#1691

@dmpetrov dmpetrov requested review from rlamy and volkfox July 10, 2024 22:25
@dmpetrov dmpetrov mentioned this pull request Jul 11, 2024
@dmpetrov dmpetrov merged commit e8e7ce7 into main Jul 11, 2024
10 checks passed
@dmpetrov dmpetrov deleted the to_feature_fixes branch July 11, 2024 17:45
Comment on lines +53 to +54
if inspect.isclass(anno) and issubclass(anno, Enum):
return str

This comment was marked as outdated.

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.

3 participants