MCPcopy Create free account
hub / github.com/Virtual-Protocol/virtuals-python / get_worker_config

Method get_worker_config

src/virtuals_sdk/game/agent.py:124–126  ·  view source on GitHub ↗

Get worker config from worker dict

(self, worker_id: str)

Source from the content-addressed store, hash-verified

122 return self.workers
123
124 def get_worker_config(self, worker_id: str):
125 """Get worker config from worker dict"""
126 return self.workers[worker_id]
127
128 def get_worker(self, worker_id: str):
129 """Initialize a working interactable standalone worker"""

Callers 1

get_workerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected