Skip to content

Guards or conditionals for argument values in function annotations #10

@epatters

Description

@epatters

In data science packages, a single function will often implement several conceptually distinct models or methods by dispatching on the value of an argument, as in R's glm or scikit-learn's LogisticRegression (which supports multiple forms of regularization). Function annotations should support dispatching on such arguments as well.

In this package, it is enough to describe a schema that makes sense and start writing the annotations. The language-specific flow graph packages should then be updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions