Skip to content

Commit a3c69d5

Browse files
authored
Merge pull request #50 from DenisaCG/fsspec
Refactor backend
2 parents 915ef3a + 0ae7757 commit a3c69d5

File tree

6 files changed

+132
-162
lines changed

6 files changed

+132
-162
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,6 @@ dmypy.json
123123

124124
# Yarn cache
125125
.yarn/
126+
127+
# untitled notebooks
128+
Untitled.ipynb

jupyter_drives/handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ async def get(self, drive: str = "", path: str = ""):
8888

8989
@tornado.web.authenticated
9090
async def post(self, drive: str = "", path: str = ""):
91-
result = await self._manager.new_file(drive, path)
91+
body = self.get_json_body()
92+
result = await self._manager.new_file(drive, path, **body)
9293
self.finish(result)
9394

9495
@tornado.web.authenticated

0 commit comments

Comments
 (0)