Skip to content

Explicitly export input and output classes#32

Merged
michal-lightly merged 1 commit intomainfrom
michal-20250310-explicit-export
Mar 10, 2025
Merged

Explicitly export input and output classes#32
michal-lightly merged 1 commit intomainfrom
michal-20250310-explicit-export

Conversation

@michal-lightly
Copy link
Copy Markdown
Contributor

@michal-lightly michal-lightly commented Mar 10, 2025

Explicitly export input and output classes.

Without this change, importing classes using this syntax:

from labelformat.formats import YOLOv8ObjectDetectionInput

Give the following mypy error:

error: Module "labelformat.formats" does not explicitly export attribute "YOLOv8ObjectDetectionInput"  [attr-defined]

@michal-lightly michal-lightly merged commit b1b7c42 into main Mar 10, 2025
2 checks passed
@michal-lightly michal-lightly deleted the michal-20250310-explicit-export branch March 10, 2025 17:35
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.

2 participants