Skip to content

Commit

Permalink
Update annotations.py
Browse files Browse the repository at this point in the history
Signed-off-by: Balaji Veeramani <[email protected]>
  • Loading branch information
bveeramani committed Jan 26, 2023
1 parent fba788e commit de05655
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/ray/util/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def PublicAPI(*args, **kwargs):
def wrap(obj):
if stability in ["alpha", "beta"]:
message = (
f"PublicAPI ({stability}): This API is in {stability} "
f"**PublicAPI ({stability}):** This API is in {stability} "
"and may change before becoming stable."
)
else:
Expand Down Expand Up @@ -80,7 +80,8 @@ def DeveloperAPI(*args, **kwargs):

def wrap(obj):
_append_doc(
obj, message="DeveloperAPI: This API may change across minor Ray releases."
obj,
message="**DeveloperAPI:** This API may change across minor Ray releases.",
)
_mark_annotated(obj)
return obj
Expand Down

0 comments on commit de05655

Please sign in to comment.