Skip to content

Commit

Permalink
force synapse_client kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 17, 2025
1 parent 89db642 commit 066504a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion synapseclient/api/agent_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
async def register_agent(
cloud_agent_id: str,
cloud_alias_id: Optional[str] = None,
*,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
"""
Expand Down Expand Up @@ -44,7 +45,9 @@ async def register_agent(


async def get_agent(
registration_id: str, synapse_client: Optional["Synapse"] = None
registration_id: str,
*,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
"""
Gets information about an existing agent registration.
Expand All @@ -68,6 +71,7 @@ async def get_agent(
async def start_session(
access_level: str,
agent_registration_id: str,
*,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
"""
Expand Down Expand Up @@ -95,6 +99,7 @@ async def start_session(

async def get_session(
id: str,
*,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
"""
Expand All @@ -119,6 +124,7 @@ async def get_session(
async def update_session(
id: str,
access_level: str,
*,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
"""
Expand Down Expand Up @@ -148,6 +154,7 @@ async def update_session(

async def get_trace(
prompt_id: str,
*,
newer_than: Optional[int] = None,
synapse_client: Optional["Synapse"] = None,
) -> Dict[str, Any]:
Expand Down

0 comments on commit 066504a

Please sign in to comment.