Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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