MockupContext#

class MockupContext#
init(self: pyhelayers.MockupContext, req: pyhelayers.HeConfigRequirement) None#

Initializes this MockupContext according the given requirement.

Parameters:

req – an HeConfigRequirement object, indicating the required configuration parameters (e.g. securityLevel, numSlots).

Raises:

RuntimeError – If it is not possible to fulfill the given requirement, or if the context is already initalized.