MCPcopy
hub / github.com/ray-project/ray / ray_option_utils.py

File ray_option_utils.py

python/ray/_common/ray_option_utils.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Manage, parse and validate options for Ray tasks, actors and actor methods."""
2import warnings
3from dataclasses import dataclass
4from typing import Any, Callable, Dict, Optional, Tuple, Union

Callers

nothing calls this directly

Calls 9

validate_label_selectorFunction · 0.90
OptionClass · 0.85
_resource_optionFunction · 0.85
_counting_optionFunction · 0.85
_validate_resourcesFunction · 0.85
issubclass_safeFunction · 0.85
listFunction · 0.85
keysMethod · 0.45

Tested by

no test coverage detected