Skip to content

Commit 22f19e3

Browse files
authored
Update base.py
1 parent 9bd26ac commit 22f19e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,10 @@ def upload(self, path, file, chunk_size=None, **options):
13081308
sensible default.
13091309
**options: Implementation specific options required to open
13101310
the source file.
1311+
1312+
Raises:
1313+
fs.errors.ResourceNotFound: If a parent directory of
1314+
``path`` does not exist.
13111315
13121316
Note that the file object ``file`` will *not* be closed by this
13131317
method. Take care to close it after this method completes

0 commit comments

Comments
 (0)