SessionRestrictionContext

class SessionRestrictionContext[source]

The context to which this session is restricted, currently only course contexts are supported.

course_id: int

The id of the course to which this session is restricted.

isolated: Just[bool] | _Nothing[bool] = Nothing

Whether this is an isolated exam session. Defaults to False for backward compatibility with existing login-link sessions.