Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ray-project/ray
/ convert
Method
convert
python/ray/dashboard/modules/job/cli_utils.py:22–26 ·
view source on GitHub ↗
(self, value, param, ctx)
Source
from the content-addressed store, hash-verified
20
name =
"BOOL | TEXT"
21
22
def
convert(self, value, param, ctx):
23
if
isinstance(value, bool):
24
return
value
25
else
:
26
return
bool_cast(value)
27
28
29
def
add_common_job_options(func):
Callers
15
fetch_images
Method · 0.80
_read_stream
Method · 0.80
_apply_preprocess_pil
Method · 0.80
__call__
Method · 0.80
load_image
Function · 0.80
__call__
Method · 0.80
process_row
Method · 0.80
download_and_process_batch
Method · 0.80
decode_images
Function · 0.80
preprocess
Function · 0.80
decode
Function · 0.80
deserialize_image
Function · 0.80
Calls
1
bool_cast
Function · 0.85
Tested by
no test coverage detected