Skip to content

Add typing annotations to models/detection #4582

Open
@oke-aditya

Description

@oke-aditya

🚀 The feature

This is an issue to track down all the files in detection module and work up the chain.

To type the models, all the above files would need to have annotations.

Motivation, pitch

@khushi-411 and I will sync and work on these files.

Solving This issue also helps #2025

As first step I'm closing #4220 and splitting it up into multiple PRs preferably one file each.

Hopefully we should complete this soon.

Alternatives

Note that there are cases where we have make JIT happy over mypy.

Most of these cases occur as JIT does not Support Tuple fully. In most cases we should prefer List.

Additional context

cc @datumbox @pmeier @NicolasHug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions