(obj: Any)
| 1237 | |
| 1238 | @staticmethod |
| 1239 | def from_dict(obj: Any) -> '_ConnectResult': |
| 1240 | assert isinstance(obj, dict) |
| 1241 | ok = from_bool(obj.get("ok")) |
| 1242 | protocol_version = from_int(obj.get("protocolVersion")) |
| 1243 | version = from_str(obj.get("version")) |
| 1244 | return _ConnectResult(ok, protocol_version, version) |
| 1245 | |
| 1246 | def to_dict(self) -> dict: |
| 1247 | result: dict = {} |
nothing calls this directly
no test coverage detected