mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21: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}")
|
||||
|
||||
|
||||
@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.
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue