Skip to content

feat: DIA-2214: Utilities to support PDF use cases #452

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

Merged
merged 2 commits into from
May 14, 2025
Merged

Conversation

niklub
Copy link
Contributor

@niklub niklub commented May 6, 2025

No description provided.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request implements utility changes to support PDF use cases and improves tag-related functionality. Key changes include:

  • Updated ImageTag class with a specific docstring and a new boolean property for detecting image lists.
  • Added cached properties for ner_tags, image_tags, and pdf_tags in the LabelInterface to improve tag retrieval.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/label_studio_sdk/label_interface/object_tags.py Updated ImageTag documentation and added is_image_list property.
src/label_studio_sdk/label_interface/interface.py Added cached_property import and new cached properties for tag retrieval.

@niklub niklub merged commit 856f396 into master May 14, 2025
4 checks passed
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.

1 participant