Skip to content

Commit 45b20bf

Browse files
committed
Improved docstrings
1 parent 4870df2 commit 45b20bf

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

packet/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Defines command-line utilities for use with the app
2+
Defines command-line utilities for use with packet
33
"""
44

55
from secrets import token_hex

packet/ldap.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Helper functions for working with the csh_ldap library
3+
"""
4+
15
from functools import lru_cache
26

37
from packet import _ldap

packet/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Defines the application's database models.
2+
Defines the application's database models
33
"""
44

55
from datetime import datetime

packet/routes/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Shared API endpoints
3+
"""
4+
15
from packet import app, db
26
from packet.utils import before_request, packet_auth, notify_slack
37
from packet.models import Packet, MiscSignature

packet/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
General utilities and decorators for supporting the Python logic
3+
"""
4+
15
from functools import wraps, lru_cache
26

37
import requests

0 commit comments

Comments
 (0)