Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Exception when schema already defined #24

@jonrbates

Description

@jonrbates

I'm trying to debug my entry script (score.py) and getting

Exception: Error, output schema already defined for function: __main__.run.

after running a second time.

Is the assertion necessary?

    251     if OUTPUT_SCHEMA_ATTR in __functions_schema__[base_func_name].keys():
--> 252         raise Exception('Error, output schema already defined for function: {}.'.format(base_func_name))

It makes it difficult to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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