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

Update/doccano 1.5.5 #14

Merged
merged 177 commits into from Jan 25, 2022
Merged

Update/doccano 1.5.5 #14

merged 177 commits into from Jan 25, 2022

Conversation

ghontolux
Copy link
Owner

No description provided.

zanussbaum and others added 30 commits July 1, 2021 15:57
When uploading datasets, the code uses a `bulk_create` to upload
Examples and Labels. It then filters the data from the database
based on when it was created. However, [Django doesn't enforce
the list order when calling filter](https://stackoverflow.com/questions/7163640/what-is-the-default-order-of-a-list-returned-from-a-django-filter-call)
unless ordering is specified. The previous behavior mismatched labels
and examples. When this was shown in the UI, the data would show labels
for incorrect examples (i.e. a label for message #2 would be shown on
message #1). This fix enforces that the data is returned in the order
it was inserted so that the data, label pair is as expected.
Bulk create returns the created objects in the same order as they have been added.

In Postgres, the query was wrong, because ordering was not guaranteed.
Signed-off-by: Dimid Duchovny <dimidd@localize.city>
all the config params are stored in environment variables as per commit
5728636
Hironsan and others added 28 commits November 29, 2021 16:22
[Enhancement] Add an autocomplete in annotation menu
Update Dockerfile to change the default value of DEBUG
Show number of deleting rows only in confirm dialog
@ghontolux ghontolux merged commit b490247 into develop Jan 25, 2022
@ghontolux ghontolux deleted the update/doccano-1.5.5 branch February 4, 2022 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet