Skip to content

Everything in predict method but name needs to be a named argument #304

@zeke

Description

@zeke

When attempting to specify type and help without names:

@cog.input("seed", str, "A random seed", min=0, max=1000, default=None)

The following error is produced:

E   TypeError: input() got multiple values for argument 'default'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions