mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Update PublicAPI annotations #17224
This commit is contained in:
parent
09f32b68d3
commit
d6e91a5b46
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ def get_function_descriptor_for_actor_method(
|
||||||
f"not support language {language}")
|
f"not support language {language}")
|
||||||
|
|
||||||
|
|
||||||
@PublicAPI
|
@PublicAPI(stability="beta")
|
||||||
def java_function(class_name, function_name):
|
def java_function(class_name, function_name):
|
||||||
"""Define a Java function.
|
"""Define a Java function.
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ def java_function(class_name, function_name):
|
||||||
None) # runtime_env
|
None) # runtime_env
|
||||||
|
|
||||||
|
|
||||||
@PublicAPI
|
@PublicAPI(stability="beta")
|
||||||
def java_actor_class(class_name):
|
def java_actor_class(class_name):
|
||||||
"""Define a Java actor class.
|
"""Define a Java actor class.
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ def PublicAPI(*args, **kwargs):
|
||||||
"""Annotation for documenting public APIs.
|
"""Annotation for documenting public APIs.
|
||||||
|
|
||||||
Public APIs are classes and methods exposed to end users of Ray. You
|
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.
|
releases.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|
Loading…
Add table
Reference in a new issue