ray.serve.config.AutoscalingConfig.json#
- AutoscalingConfig.json(*, include: AbstractSetIntStr | MappingIntStrAny | None = None, exclude: AbstractSetIntStr | MappingIntStrAny | None = None, by_alias: bool = False, skip_defaults: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, encoder: Callable[[Any], Any] | None = None, models_as_dict: bool = True, **dumps_kwargs: Any) str#
- Generate a JSON representation of the model, - includeand- excludearguments as per- dict().- encoderis an optional function to supply as- defaultto json.dumps(), other arguments as per- json.dumps().