(obj: Any)
| 2751 | |
| 2752 | @staticmethod |
| 2753 | def from_dict(obj: Any) -> 'MCPAppsDiagnoseServer': |
| 2754 | assert isinstance(obj, dict) |
| 2755 | connected = from_bool(obj.get("connected")) |
| 2756 | sample_tool_names = from_list(from_str, obj.get("sampleToolNames")) |
| 2757 | tool_count = from_float(obj.get("toolCount")) |
| 2758 | tools_with_ui_meta = from_float(obj.get("toolsWithUiMeta")) |
| 2759 | return MCPAppsDiagnoseServer(connected, sample_tool_names, tool_count, tools_with_ui_meta) |
| 2760 | |
| 2761 | def to_dict(self) -> dict: |
| 2762 | result: dict = {} |
nothing calls this directly
no test coverage detected