Skip to content

Commit 947f2af

Browse files
Webapp class docstring.
1 parent b7541da commit 947f2af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pythonanywhere_core/webapp.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414

1515
class Webapp:
16+
""" Interface for PythonAnywhere webapps API.
17+
Uses `pythonanywhere_core.base` :method: `get_api_endpoint` to
18+
create url, which is stored in a class variable `Webapp.base_url`,
19+
then calls `call_api` with appropriate arguments to execute webapps
20+
action.
21+
"""
1622
def __init__(self, domain: str) -> None:
1723
self.endpoint = get_api_endpoint()
1824
self.username = getpass.getuser()

0 commit comments

Comments
 (0)