Skip to content

Commit c97e246

Browse files
Alexandra CotaAlexandra Cota
authored andcommitted
edit docstrings in webhook.py
1 parent c29a1ed commit c97e246

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

labelbox/schema/webhook.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class Webhook(DbObject, Updateable):
2828
@staticmethod
2929
def create(client, topics, url, secret, project):
3030
""" Creates a Webhook.
31+
3132
Args:
3233
client (Client): The Labelbox client used to connect
3334
to the server.
@@ -39,7 +40,7 @@ def create(client, topics, url, secret, project):
3940
project (Project or None): The project for which notifications
4041
should be sent. If None notifications are sent for all
4142
events in your organization.
42-
Return:
43+
Returns:
4344
A newly created Webhook.
4445
"""
4546
project_str = "" if project is None \
@@ -58,6 +59,7 @@ def create(client, topics, url, secret, project):
5859

5960
def update(self, topics=None, url=None, status=None):
6061
""" Updates this Webhook.
62+
6163
Args:
6264
topics (list of str): The new topics value, optional.
6365
url (str): The new URL value, optional.

0 commit comments

Comments
 (0)