Enter to send·Shift+Enter new line
PriorityContext( self, user: BaseUser, permissions: Sequence[str], thread_id: str
The user from the deployment's auth, custom auth or LangSmith auth. Without auth, user.identity is empty.
user.identity
The user's permissions from the same auth. Without auth, it's empty.
The thread's ID, or None when the run creates its thread without being given an ID.
None
The thread's metadata.
The ID of the assistant the run uses.
The ID of the graph the assistant runs.
The assistant's metadata.
The run's metadata.
The ID of the cron that started the run, or None when no cron started it.
Context passed to the @priority.assign function at the first run on a thread with no settings.
@priority.assign