mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
add docstrings
This commit is contained in:
parent
8ba2912ff4
commit
bf3bf70814
@ -250,6 +250,9 @@ class QueuedItem(object):
|
|||||||
|
|
||||||
|
|
||||||
class UploadItem(QueuedItem):
|
class UploadItem(QueuedItem):
|
||||||
|
"""
|
||||||
|
Represents a single item the _deque of the Uploader
|
||||||
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@ -634,6 +637,9 @@ class WriteFileMixin(object):
|
|||||||
|
|
||||||
|
|
||||||
class DownloadItem(QueuedItem):
|
class DownloadItem(QueuedItem):
|
||||||
|
"""
|
||||||
|
Represents a single item in the _deque of the Downloader
|
||||||
|
"""
|
||||||
def __init__(self, relpath_u, progress, filenode, metadata):
|
def __init__(self, relpath_u, progress, filenode, metadata):
|
||||||
super(DownloadItem, self).__init__(relpath_u, progress)
|
super(DownloadItem, self).__init__(relpath_u, progress)
|
||||||
self.file_node = filenode
|
self.file_node = filenode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user