graphscope.get_option#
- graphscope.get_option(key)[source]#
Get the value of specified option.
Find params detail in
graphscope.Session
- Available options:
num_workers
log_level
show_log
vineyard_shared_mem
k8s_namespace
k8s_service_type
k8s_gs_image
k8s_etcd_image
k8s_image_pull_policy
k8s_image_pull_secrets
k8s_coordinator_cpu
k8s_coordinator_mem
k8s_vineyard_deployment
k8s_vineyard_cpu
k8s_vineyard_mem
k8s_engine_cpu
k8s_engine_mem
k8s_mars_worker_cpu
k8s_mars_worker_mem
k8s_mars_scheduler_cpu
k8s_mars_scheduler_mem
enabled_engines
with_mars
with_dataset
k8s_volumes
k8s_waiting_for_delete
timeout_seconds
dataset_download_retries
- Parameters
key – str Key of GraphScope config you want to get.
- Raises
ValueError – If no such option exists.
Returns: result: the value of the option