aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget/file.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/wikiget/file.py')
-rw-r--r--src/wikiget/file.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wikiget/file.py b/src/wikiget/file.py
index b890e63..16402b0 100644
--- a/src/wikiget/file.py
+++ b/src/wikiget/file.py
@@ -21,6 +21,11 @@ from wikiget import DEFAULT_SITE
class File:
+ """
+ This class represents a file with the properties name, destination, host site, and
+ mwclient.image.Image object as retrieved from the host site.
+ """
+
def __init__(self, name: str, dest: str = "", site: str = "") -> None:
"""
Initializes a new file with the specified name and an optional destination name.