Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error_score is required although it has a default value #24

Open
DavidTen1 opened this issue Jul 1, 2022 · 1 comment
Open

error_score is required although it has a default value #24

DavidTen1 opened this issue Jul 1, 2022 · 1 comment
Labels
bug 🪲 Something isn't working @optional Related to the @optional annotation @required Related to the @required annotation wrong annotation An annotation was generated automatically but is incorrect

Comments

@DavidTen1
Copy link
Contributor

URL Hash

#/sklearn/sklearn.model_selection._validation/cross_val_score/error_score

Actual Annotation Type

@required

Actual Annotation Inputs

{
    "target": "sklearn/sklearn.model_selection._validation/cross_val_score/error_score",
    "authors": [
        "$autogen$"
    ]
}

Expected Annotation Type

@optional

Expected Annotation Inputs

See Expected Annotation Type

Minimal API Data (optional)

No response

Minimal Usage Store (optional)

No response

Suggested Solution (optional)

No response

Additional Context (optional)

No response

@DavidTen1 DavidTen1 added the bug 🪲 Something isn't working label Jul 1, 2022
@GideonKoenig
Copy link
Contributor

GideonKoenig commented Jul 1, 2022

In general parameters with default values that are no literals should not get annotated with constant, optional or required.

@lars-reimann lars-reimann transferred this issue from Safe-DS/API-Editor Mar 19, 2023
@lars-reimann lars-reimann added @optional Related to the @optional annotation @required Related to the @required annotation wrong annotation An annotation was generated automatically but is incorrect labels Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working @optional Related to the @optional annotation @required Related to the @required annotation wrong annotation An annotation was generated automatically but is incorrect
Projects
Status: Backlog
Development

No branches or pull requests

3 participants