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

Handle attributes edge case in schema_as_dict #336

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Handle attributes edge case in schema_as_dict #336

merged 1 commit into from
Aug 8, 2024

Conversation

bob-chevalier
Copy link

When using SchemaBuilder, any slots defined with name="name", will be removed by the schema_as_dict function, if the slot was added to a class using the use_attributes=True flag.

See issue: linkml/linkml#2247

@bob-chevalier
Copy link
Author

Hi @cmungall. Thanks for the approval. It looks like 3 of the checks failed while Poetry attempted to install a dependency. My PR doesn't touch the lock file so I was hoping this might be a transient failure, but I don't see a way to re-trigger the checks.

@cmungall cmungall merged commit 641bb1c into linkml:main Aug 8, 2024
15 checks passed
@bob-chevalier bob-chevalier deleted the attributes-schema-as-dict branch August 25, 2024 12:34
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