Skip to content

Commit 0738f58

Browse files
committed
[docs]: SlackCallback - improve docstring readability
1 parent 78d3967 commit 0738f58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tf_notify/callbacks/slack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55

66
class SlackCallback(BaseNotificationCallback):
77
"""
8-
A custom tf.callbacks.Callback that provides enables instant integration with Slack messaging app.
9-
10-
**Note**: Any attributes or methods prefixed with _underscores are forming a so called "private" API, and is
11-
for internal use only. They may be changed or removed at anytime.
8+
A custom tf.callbacks.Callback that provides instant integration with Slack messaging app.
129
1310
Examples:
1411
>>> import tensorflow as tf
@@ -33,6 +30,9 @@ class SlackCallback(BaseNotificationCallback):
3330
>>> SlackCallback(webhook_url='https://url.to/webhook')
3431
>>> ],
3532
>>> )
33+
34+
**Note**: Any attributes or methods prefixed with _underscores are forming a so called "private" API, and is
35+
for internal use only. They may be changed or removed at anytime.
3636
"""
3737

3838
def __init__(self, webhook_url: str):

0 commit comments

Comments
 (0)