add get_client for Python client