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

Exception when schema already defined #24

Open
jonrbates opened this issue May 17, 2020 · 1 comment
Open

Exception when schema already defined #24

jonrbates opened this issue May 17, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jonrbates
Copy link

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.

@jonrbates
Copy link
Author

Note this happened when I was defining schema inference and run() in the jupyter cell.

@trangevi trangevi added the bug Something isn't working label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants