From: meejah Date: Mon, 1 Feb 2016 18:02:25 +0000 (-0700) Subject: add docstrings X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/frontends/wapi.txt?a=commitdiff_plain;h=5ed27bdfae5cbce650bab5fc006aa48f5601a74e;p=tahoe-lafs%2Ftahoe-lafs.git add docstrings --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 0911f313..c075baa5 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -250,6 +250,9 @@ class QueuedItem(object): class UploadItem(QueuedItem): + """ + Represents a single item the _deque of the Uploader + """ pass @@ -634,6 +637,9 @@ class WriteFileMixin(object): class DownloadItem(QueuedItem): + """ + Represents a single item in the _deque of the Downloader + """ def __init__(self, relpath_u, progress, filenode, metadata): super(DownloadItem, self).__init__(relpath_u, progress) self.file_node = filenode