-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Connection type refactor #11272
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
Connection type refactor #11272
Conversation
readonly baseUrl: string; | ||
readonly token: string; | ||
readonly hostName: string; | ||
localProcExitCode: number | undefined; | ||
allowUnauthorized?: boolean; | ||
} | ||
|
||
export type INotebookProviderConnection = IRawConnection | IJupyterConnection; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This right here is the crux of the change.
- Rename IConnection -> IJupyterConnection
- Top level connection type is now type union
- Lets me remove some ugly spots where I was doing an as cast and lets me just pass the type
Kudos, SonarCloud Quality Gate passed!
|
@rchiodo had good feedback on a type change from the big merge in from rawKernel. But I didn't want to change a whole bunch more files in that painful merge. So adding it in this follow up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only single workspace timeout |
For #11195
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).