Skip to content

Commit

Permalink
Merge pull request #126 from elliot-100/125-minor-inconsistent-docstr…
Browse files Browse the repository at this point in the history
…ing-headings-confuse-type-annotation-checking-tools

fix: inconsistent docstring headings confuse type annotation checking tools
  • Loading branch information
elliot-100 authored Jun 1, 2024
2 parents ffbb96c + 0a38443 commit 61c592d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions spond/spond.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,15 @@ async def update_event(self, uid: str, updates: dict):
"""
Updates an existing event.
Parameters:
Parameters
----------
uid : str
UID of the event.
updates : dict
The changes. e.g. if you want to change the description -> {'description': "New Description with changes"}
Returns:
----------
Returns
-------
json results of post command
"""
Expand Down Expand Up @@ -392,7 +392,8 @@ async def get_event_attendance_xlsx(self, uid: str) -> bytes:
uid : str
UID of the event.
Returns:
Returns
-------
bytes: XLSX binary data
"""
url = f"{self.api_url}sponds/{uid}/export"
Expand All @@ -416,7 +417,7 @@ async def change_response(self, uid: str, user: str, payload: dict) -> dict:
user response to event, e.g. {"accepted": "true"}
Returns
----------
-------
json: event["responses"] with updated info
"""
url = f"{self.api_url}sponds/{uid}/responses/{user}"
Expand Down

0 comments on commit 61c592d

Please sign in to comment.