Debian Codegraph @

asusrouter/modules/endpoint/network.py

raw
1 """Network tools endpoint module."""
2
3 from __future__ import annotations
4
5 from typing import Any
6
7 from asusrouter.modules.data import AsusData
8 from asusrouter.tools.readers import read_json_content as read
9
10 __all__ = ["read", "process"]
11
12
13 def process(data: dict[str, Any]) -> dict[AsusData, Any]:
14 """Process network tools data."""
15
16 return {
17 AsusData.PING: data,
18 }