ralsei.utils

Module Contents

Functions

expect

Ensure value is not None, throw exception otherwise

folder

Get the parent directory of the file that called this function

API

ralsei.utils.expect(value: ralsei.utils.expect.T | None, error: Exception) ralsei.utils.expect.T

Ensure value is not None, throw exception otherwise

ralsei.utils.folder() pathlib.Path

Get the parent directory of the file that called this function