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

Fix attribute model for enums #401

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

martastain
Copy link
Member

@martastain martastain commented Oct 23, 2024

This pull request includes a small but important change to the generate_model method in the ayon_server/entities/models/generator.py file. The change ensures that if the enum field contains instances of AttributeEnumItem, their values are extracted correctly.

@martastain martastain added the type: bug Something isn't working label Oct 23, 2024
@martastain martastain self-assigned this Oct 23, 2024
Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

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

Makes sense. 👍 Didn't test. :)

@martastain martastain merged commit 3fc4ae0 into develop Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants