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

fix #2095: remove SubmitCode.SubmissionType#3174

Merged
jonsequitur merged 1 commit into
dotnet:mainfrom
jonsequitur:fix-2095
Sep 14, 2023
Merged

fix #2095: remove SubmitCode.SubmissionType#3174
jonsequitur merged 1 commit into
dotnet:mainfrom
jonsequitur:fix-2095

Conversation

@jonsequitur

@jonsequitur jonsequitur commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

Fixes #2095.

}
break;
case IncompleteCodeSubmissionReceived _:
Reply(false, context.JupyterRequestMessageEnvelope, context.JupyterMessageSender);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were the removed code paths pretty much unused?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're unused after this code change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very familiar with the code, but the current class is called IsCompleteRequestHandler and I was a bit confused since it seemed like it was meant to check whether the complete submission has been received while now it checks whether or not the submission contains errors. Do we need to rename this for clarity?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking for errors is an implementation detail. This handler's purpose is the same as before, which is to inform the Jupyter console as to whether a code submission is "complete". This isn't a common use case for us in any event.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove SubmitCode.SubmissionType

3 participants