-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fs cloning api handler #163
Conversation
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
========================================
- Coverage 81.15% 80% -1.16%
========================================
Files 10 10
Lines 467 505 +38
========================================
+ Hits 379 404 +25
- Misses 88 101 +13 |
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
==========================================
+ Coverage 81.15% 82.57% +1.41%
==========================================
Files 10 10
Lines 467 505 +38
==========================================
+ Hits 379 417 +38
Misses 88 88 |
995c781
to
b4b09da
Compare
b4b09da
to
9651f1a
Compare
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.
Looks good. I've made a few suggested doc changes.
bookstore/clone.py
Outdated
Returns | ||
-------- | ||
dict | ||
Jupyter Contents API compatible model |
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.
Link to Contents API https://jupyter-notebook.readthedocs.io/en/stable/extending/contents.html
Co-Authored-By: Carol Willing <[email protected]>
Co-Authored-By: Carol Willing <[email protected]>
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.
Thanks @mpacer 😄
061f065
to
5b0f704
Compare
|
||
{ | ||
"relpath": string, | ||
"target_path": string #optional |
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.
@willingc
Does this successfully capture the idea in a way that would make sense from a python perspective?
This adds the handler needed to get file system cloning to work.
I will create a separate PR just for adding the handler to the routes and testing the routes.
NB: This is a bit of a bigger PR, but I didn't want to submit a PR for functionality without tests for that functionality.