Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Virtual-Protocol/virtuals-python
/ Session
Class
Session
src/virtuals_sdk/game/agent.py:8–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
7
8
class
Session:
9
def
__init__(self):
10
self.id = str(uuid.uuid4())
11
self.function_result: Optional[FunctionResult] = None
12
13
def
reset(self):
14
self.id = str(uuid.uuid4())
15
self.function_result = None
16
17
18
class
WorkerConfig:
Callers
2
__init__
Method · 0.85
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected