ray.serve.schema.APIType#

class ray.serve.schema.APIType(value)[source]#

Bases: str, Enum

Tracks the type of API that an application originates from.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

classmethod get_valid_user_values()[source]#

Get list of valid APIType values that users can explicitly pass.

Excludes ‘unknown’ which is for internal use only.