Update PublicAPI annotations #17224

This commit is contained in:
Eric Liang 2021-07-20 16:37:53 -07:00 committed by GitHub
parent 09f32b68d3
commit d6e91a5b46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ def get_function_descriptor_for_actor_method(
f"not support language {language}")
@PublicAPI
@PublicAPI(stability="beta")
def java_function(class_name, function_name):
"""Define a Java function.
@ -81,7 +81,7 @@ def java_function(class_name, function_name):
None) # runtime_env
@PublicAPI
@PublicAPI(stability="beta")
def java_actor_class(class_name):
"""Define a Java actor class.

View file

@ -2,7 +2,7 @@ def PublicAPI(*args, **kwargs):
"""Annotation for documenting public APIs.
Public APIs are classes and methods exposed to end users of Ray. You
can expect these APIs to remain backwards compatible even across major Ray
can expect these APIs to remain backwards compatible across minor Ray
releases.
Args: