Skip to content

Commit 5837bcd

Browse files
committed
Add debug
1 parent 3dc0c53 commit 5837bcd

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/my-shared-docprovider/src/drive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export class MySharedDrive extends Drive implements ICollaborativeDrive {
9393
await this._app.serviceManager.contents.get(localPath, { ...options, content: false }),
9494
provider.ready
9595
]);
96+
console.log('get model format:', options.format);
9697
// The server doesn't return a model with a format when content is false,
9798
// so set it back.
9899
return { ...model, format: options.format };

packages/my-shared-docprovider/src/yprovider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export class MyProvider implements IDocumentProvider {
4444
setSource(value: any): void {
4545
this._model.setSource(value);
4646
this._ready.resolve();
47+
console.log('set model source to:', value);
4748
}
4849

4950
/**

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "my-jupyter-shared-drive"
1010
version = "0.1.5"
1111
readme = "README.md"
1212
license = { file = "LICENSE" }
13-
requires-python = ">=3.8"
13+
requires-python = ">=3.9"
1414
description = "JupyterLab/Jupyter Notebook 7+ extension integrating collaborative shared models."
1515
classifiers = [
1616
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)