Skip to content

Conversation

@kozikkamil
Copy link
Contributor

@kozikkamil kozikkamil commented Feb 10, 2026

Description

Allow syncing external metrics to projects

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Document change (fix typo or modifying any markdown files, code comments or anything in the examples folder only)

All Submissions

  • Have you followed the guidelines in our Contributing document?
  • Have you provided a description?
  • Are your changes properly formatted?

New Feature Submissions

  • Does your submission pass tests?
  • Have you added thorough tests for your new feature?
  • Have you commented your code, particularly in hard-to-understand areas?
  • Have you added a Docstring?

Changes to Core Features

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you updated any code comments, as applicable?

Note

Medium Risk
Adds a new write-path GraphQL mutation wrapper and new public models; main risk is schema/input mismatches causing runtime API errors rather than internal breakage.

Overview
Adds support for syncing externally-computed QA metrics to Labelbox projects via a new Project.submit_external_metrics() method that calls a submitExternalMetrics GraphQL mutation and returns task/data-row/label IDs.

Introduces a new schema/external_metrics.py module with pydantic models (ExternalMetricsEntry, Performance, SubmittedBy, AutoQaStatus) plus a helper to map snake_case models to the mutation’s camelCase input, and re-exports these types from labelbox.__init__.

Written by Cursor Bugbot for commit b4ceeba. This will update automatically on new commits. Configure here.

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