# Minimal example connecting to an EOQ WebSocket domain and executing a simple query. # dependencies: pip install eoq2 websocket-client from eoq2 import Cls, Get from eoq2.domain.remote import WebSocketDomain from eoq2.serialization import JsonSerializer domain = WebSocketDomain("ws://localhost:8000/ws/eoq.do", 10, JsonSerializer()) print(domain.Do(Get(Cls("ModelResource").Pth('name')))) domain.Close()