Skip to content

Commit

Permalink
add to mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 16, 2025
1 parent 6197f38 commit 33639a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions synapseclient/models/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)
from synapseclient.core.async_utils import async_to_sync, otel_trace_method
from synapseclient.core.constants.concrete_types import AGENT_CHAT_REQUEST
from synapseclient.models.mixins.asynchronous_job import AsynchronousCommunicator
from synapseclient.models.mixins import AsynchronousCommunicator
from synapseclient.models.protocols.agent_protocol import (
AgentSessionSynchronousProtocol,
AgentSynchronousProtocol,
Expand Down Expand Up @@ -193,9 +193,9 @@ class AgentSession(AgentSessionSynchronousProtocol):
id: Optional[str] = None
"""The unique ID of the agent session. Can only be used by the user that created it."""

access_level: Optional[AgentSessionAccessLevel] = (
AgentSessionAccessLevel.PUBLICLY_ACCESSIBLE
)
access_level: Optional[
AgentSessionAccessLevel
] = AgentSessionAccessLevel.PUBLICLY_ACCESSIBLE
"""The access level of the agent session.
One of PUBLICLY_ACCESSIBLE, READ_YOUR_PRIVATE_DATA, or WRITE_YOUR_PRIVATE_DATA.
Defaults to PUBLICLY_ACCESSIBLE.
Expand Down
2 changes: 2 additions & 0 deletions synapseclient/models/mixins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"""References to the mixins that are used in the Synapse models."""

from synapseclient.models.mixins.access_control import AccessControllable
from synapseclient.models.mixins.asynchronous_job import AsynchronousCommunicator
from synapseclient.models.mixins.storable_container import StorableContainer

__all__ = [
"AccessControllable",
"StorableContainer",
"AsynchronousCommunicator",
]

0 comments on commit 33639a6

Please sign in to comment.