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

Migrate Copora and Projects + Omit projectId #811

Merged
merged 5 commits into from
Oct 5, 2024
Merged

Conversation

ijemmao
Copy link
Collaborator

@ijemmao ijemmao commented Oct 4, 2024

Background

We want to add the languages field on the Corpus and CorpusSuggestions models so that we can better understand what text is within each Corpus. Additionally, we want to support multiple types of projects, so a new types field will live on the Projects model.

Finally, the projectId field was leaking into API responses for Example sentences, so this PR omits projectId only to include information relevant to the requester.

@ijemmao ijemmao requested a review from ebubae October 4, 2024 01:48
@ijemmao ijemmao force-pushed the io/migrate-projects branch from 22f188d to a3e90c4 Compare October 4, 2024 01:51
@ijemmao ijemmao merged commit 0a6c2fe into master Oct 5, 2024
4 checks passed
@ijemmao ijemmao deleted the io/migrate-projects branch October 5, 2024 16:50
@ijemmao ijemmao restored the io/migrate-projects branch October 31, 2024 00:56
@ijemmao ijemmao deleted the io/migrate-projects branch October 31, 2024 00:57
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