# DeviceProxy `dobot.server_fastapi.__init__` は `register_device_proxy()` で `"DobotCtrl"` を登録し、別名 `"dobot"`、`object_name="dobot"`、`api_spec=None` を指定します。`default_async_mode=True` です。 ```python from dobot.server_fastapi import DeviceProxy client = DeviceProxy( "DobotCtrl", server_ip="127.0.0.1", server_port=8000, async_mode=False, ) print(client.get_current_position()) ``` 同期・非同期クライアントの具体クラスは `SyncDobotClient` と `AsyncDobotClient` が登録されています。`make_pyi.py` はこれらの `.pyi` と `__init__.pyi` を制御クラスの公開 API から生成します。 ```bash python -m dobot.server_fastapi.make_pyi ```