From 06183b9947affe71a733d4a324e806863472bdcb Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Mon, 30 Oct 2023 12:22:38 -0700 Subject: Code cleanup --- src/wikiget/file.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wikiget/file.py') 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. -- cgit v1.2.3