oc_chat
Loading...
Searching...
No Matches
tier2_session_grant.py File Reference

Go to the source code of this file.

Namespaces

namespace  oc_chat
namespace  oc_chat.core
namespace  oc_chat.core.tier2_session_grant

Functions

"Path | None" oc_chat.core.tier2_session_grant.active_session_grant ()
None oc_chat.core.tier2_session_grant.grant_work_dir_for_session (Path resolved_dir)
None oc_chat.core.tier2_session_grant.revoke_session_grants ()
str oc_chat.core.tier2_session_grant._work_dir_name ()
"Path | None" oc_chat.core.tier2_session_grant.resolve_work_dir ("str | Path" sandbox_root)
bool oc_chat.core.tier2_session_grant._python_program (str arg0)
"Path | None" oc_chat.core.tier2_session_grant._resolved_script (str arg, "str | Path" sandbox_root)
bool oc_chat.core.tier2_session_grant._qualifies ("Sequence[str]" argv, "str | Path" sandbox_root, "Path | None" grant_dir)
bool oc_chat.core.tier2_session_grant.session_grant_satisfies ("Sequence[str]" argv, "str | Path" sandbox_root)
"Path | None" oc_chat.core.tier2_session_grant.grantable_work_dir ("Sequence[str]" argv, "str | Path" sandbox_root)

Variables

frozenset oc_chat.core.tier2_session_grant.PYTHON_PROGRAMS = frozenset({"python", "python3", "py"})
str oc_chat.core.tier2_session_grant.DEFAULT_WORK_DIR = "_work"
Path oc_chat.core.tier2_session_grant._SESSION_GRANT_DIR = None