filesystem

Utilities for qnexus-filesystem interactions.

qnexus.filesystem.load(
path: Path,
) Annotated[TeamRef | UserRef | ProjectRef | CircuitRef | WasmModuleRef | JobRef | CompileJobRef | ExecuteJobRef | CompilationResultRef | ExecutionResultRef | CompilationPassRef, FieldInfo(annotation=NoneType, required=True, discriminator='type')]

Load a Nexus Ref from a file.

qnexus.filesystem.save(
ref: Annotated[TeamRef | UserRef | ProjectRef | CircuitRef | WasmModuleRef | JobRef | CompileJobRef | ExecuteJobRef | CompilationResultRef | ExecutionResultRef | CompilationPassRef, FieldInfo(annotation=NoneType, required=True, discriminator='type')],
path: Path,
mkdir: bool = False,
) None

Save a Nexus Ref to a file.