@@ -148,7 +148,6 @@ def __init__(
148148 nexus_task_poller_behavior : PollerBehavior = PollerBehaviorSimpleMaximum (
149149 maximum = 5
150150 ),
151- skip_client_worker_set_check : bool = False ,
152151 ) -> None :
153152 """Create a worker to process workflows and/or activities.
154153
@@ -323,9 +322,6 @@ def __init__(
323322 Defaults to a 5-poller maximum.
324323 nexus_task_poller_behavior: Specify the behavior of Nexus task polling.
325324 Defaults to a 5-poller maximum.
326- skip_client_worker_set_check: Skip the runtime validation that ensures
327- the client is registered with the worker set. This should only be
328- used in tests.
329325 """
330326 config = WorkerConfig (
331327 client = client ,
@@ -368,7 +364,6 @@ def __init__(
368364 workflow_task_poller_behavior = workflow_task_poller_behavior ,
369365 activity_task_poller_behavior = activity_task_poller_behavior ,
370366 nexus_task_poller_behavior = nexus_task_poller_behavior ,
371- skip_client_worker_set_check = skip_client_worker_set_check ,
372367 )
373368
374369 plugins_from_client = cast (
@@ -620,7 +615,6 @@ def check_activity(activity):
620615 "nexus_task_poller_behavior"
621616 ]._to_bridge (),
622617 plugins = plugins ,
623- skip_client_worker_set_check = config ["skip_client_worker_set_check" ],
624618 ),
625619 )
626620
@@ -915,7 +909,6 @@ class WorkerConfig(TypedDict, total=False):
915909 activity_task_poller_behavior : PollerBehavior
916910 nexus_task_poller_behavior : PollerBehavior
917911 plugins : Sequence [Plugin ]
918- skip_client_worker_set_check : bool
919912
920913
921914def _warn_if_activity_executor_max_workers_is_inconsistent (
0 commit comments