hashcode module¶
Formatting modules from raw objects containing HashCode problem instances to ``jinete```s class hierarchy.
-
class
jinete.loaders.formatters.hashcode.
HashCodeLoaderFormatter
(data)[source]¶ Bases:
jinete.loaders.formatters.abc.LoaderFormatter
Format a HashCode problem instance from a raw object to build
jinete
’s set of objects.-
__init__
(data)¶ Construct a new instance.
- Parameters
data (Any) – The object to retrieve the on load instance.
-
fleet
(surface, *args, **kwargs)[source]¶ Retrieve the fleet object for the current on load instance.
- Parameters
surface (
jinete.models.surfaces.Surface
) – The surface surface object for the current on load instance.args – Additional positional arguments.
kwargs – Additional named arguments.
- Return type
- Returns
A surface instance from the loaded instance.
-
job
(surface, *args, **kwargs)[source]¶ Retrieve the job object for the current on load instance.
- Parameters
surface (
jinete.models.surfaces.Surface
) – The surface object for the current on load instance.args – Additional positional arguments.
kwargs – Additional named arguments.
- Return type
- Returns
A surface instance from the loaded instance.
-