MCPcopy Create free account
hub / github.com/HKUDS/OpenOPC / __init__

Method __init__

opc/database/store.py:179–182  ·  view source on GitHub ↗
(self, db_path: str)

Source from the content-addressed store, hash-verified

177 return obj.isoformat()
178 if isinstance(obj, Enum):
179 return obj.value
180 raise TypeError(f"Object of type {obj.__class__.__name__} is not JSON serializable")
181
182 return json.dumps(value, ensure_ascii=False, default=_default)
183
184
185_FINAL_DELIVERY_PUBLICATION_CAPABILITY = object()

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected