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

feat: LEAP-1720: distinguish annotations created using Bulk Labeling #6821

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

triklozoid
Copy link
Contributor

  • added bulk_created flag for annotation model

@github-actions github-actions bot added the feat label Dec 23, 2024
Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit fc1d3c8
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67783858f1944000084a719c
😎 Deploy Preview https://deploy-preview-6821--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit fc1d3c8
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/677838587a68590008063afb
😎 Deploy Preview https://deploy-preview-6821--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.78%. Comparing base (d7cebed) to head (fc1d3c8).
Report is 11 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6821   +/-   ##
========================================
  Coverage    76.78%   76.78%           
========================================
  Files          171      171           
  Lines        14023    14024    +1     
========================================
+ Hits         10767    10768    +1     
  Misses        3256     3256           
Flag Coverage Δ
pytests 76.78% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -684,6 +684,11 @@ class Annotation(AnnotationMixin, models.Model):
default=None,
null=True,
)
bulk_created = models.BooleanField(
_('bulk created'),
default=False,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is unsafe, but db_default should be okay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants