diff options
| author | Cody Logan <cody@lokken.dev> | 2023-10-30 12:22:38 -0700 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-10-30 12:22:38 -0700 |
| commit | 06183b9947affe71a733d4a324e806863472bdcb (patch) | |
| tree | 0f08e9791518c0678d2058818bc21545e06bf9b8 /src/wikiget/file.py | |
| parent | 33cab465618c7a82a5d318a18838aab7c9ec9e68 (diff) | |
| download | wikiget-06183b9947affe71a733d4a324e806863472bdcb.tar.gz wikiget-06183b9947affe71a733d4a324e806863472bdcb.zip | |
Code cleanup
Diffstat (limited to 'src/wikiget/file.py')
| -rw-r--r-- | src/wikiget/file.py | 5 |
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. |
