Skip to content

[Easy] Add Python Typing to inference.execute output function #10

Description

@guillaume-chervet

Concerned method: Packages/Inferences
We want to type this method.

You can create a dataclass:

@dataclass
class InferenceOutput:
    prediction: str
    values: List[float]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions