Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 8, 2025
1 parent 52078b3 commit fbcfcef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions agent_test.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import asyncio
from synapseclient import Synapse
import json

from synapseclient import Synapse
from synapseclient.api import (
register_agent,
get_agent,
start_session,
get_session,
update_session,
send_prompt,
get_response,
get_session,
get_trace,
register_agent,
send_prompt,
start_session,
update_session,
)


AWS_AGENT_ID = "APLZVUZ4HR"


Expand Down
20 changes: 10 additions & 10 deletions synapseclient/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# These are all of the models that are used by the Synapse client.
from .agent_services import (
get_agent,
get_response,
get_session,
get_trace,
register_agent,
send_prompt,
start_session,
update_session,
)
from .annotations import set_annotations, set_annotations_async
from .configuration_services import (
get_client_authenticated_s3_profile,
Expand Down Expand Up @@ -38,16 +48,6 @@
put_file_multipart_add,
put_file_multipart_complete,
)
from .agent_services import (
register_agent,
get_agent,
start_session,
get_session,
update_session,
send_prompt,
get_response,
get_trace,
)

__all__ = [
# annotations
Expand Down
2 changes: 1 addition & 1 deletion synapseclient/api/agent_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<https://rest-docs.synapse.org/rest/#org.sagebionetworks.repo.web.controller.AgentController>
"""

import json
import asyncio
import json
from typing import TYPE_CHECKING, Any, Dict, Optional

if TYPE_CHECKING:
Expand Down

0 comments on commit fbcfcef

Please sign in to comment.