Skip to content

Conversation

@michal-lightly
Copy link
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.

3 participants