-
Notifications
You must be signed in to change notification settings - Fork 337
Remove export specific methods form Session #13736
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
Conversation
@@ -161,121 +166,79 @@ suite('Jupyter Connection', async () => { | |||
verify(sessionManager.getRunningKernels()).once(); | |||
verify(sessionManager.dispose()).once(); | |||
}); | |||
|
|||
/* eslint-disable , @typescript-eslint/no-explicit-any */ | |||
suite('JupyterConnection', () => { |
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.
Moved to a separate file, these tests didn't belong here
} | ||
|
||
// If connecting on HTTP without a token prompt the user that this connection may not be secure | ||
private async insecureServerWarningPrompt(): Promise<boolean> { |
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.
Moved from JupyterSessionManager
(unfortunately this introduces a cyclic dependency, but the plan is to fix this)
@@ -196,53 +192,6 @@ export class JupyterSession | |||
return promise; | |||
} | |||
|
|||
async invokeWithFileSynced(contents: string, handler: (file: IBackupFile) => Promise<void>): Promise<void> { |
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.
Now moved into export class
@@ -339,190 +316,4 @@ export class JupyterSessionManager implements IJupyterSessionManager { | |||
return []; | |||
} | |||
} | |||
|
|||
private async getServerConnectSettings(connInfo: IJupyterConnection): Promise<ServerConnection.ISettings> { |
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.
Moved into JupyterConnection class
Fixes #13577