Changeset View
Changeset View
Standalone View
Standalone View
python_modules/dagster/dagster/grpc/client.py
Show First 20 Lines • Show All 404 Lines • ▼ Show 20 Lines | ): | ||||
check.bool_param(force_port, "force_port") | check.bool_param(force_port, "force_port") | ||||
check.int_param(max_retries, "max_retries") | check.int_param(max_retries, "max_retries") | ||||
with GrpcServerProcess( | with GrpcServerProcess( | ||||
loadable_target_origin=loadable_target_origin, | loadable_target_origin=loadable_target_origin, | ||||
force_port=force_port, | force_port=force_port, | ||||
max_retries=max_retries, | max_retries=max_retries, | ||||
max_workers=max_workers, | max_workers=max_workers, | ||||
lazy_load_user_code=True, | |||||
).create_ephemeral_client() as client: | ).create_ephemeral_client() as client: | ||||
yield client | yield client |