TimeloopFE
Loading...
Searching...
No Matches
timeloopfe.common.version_transpilers.v4_to_v3 Namespace Reference

Functions

 transpile (Specification spec, bool for_model=False)
 Dump a v4 specification to v3 format.
 

Function Documentation

◆ transpile()

timeloopfe.common.version_transpilers.v4_to_v3.transpile ( Specification spec,
bool for_model = False )

Dump a v4 specification to v3 format.

!

Parameters
specSpecification object to dump. !
for_modelIf True, dump the specification for timelooop-model. Else, for timeloop-mapper. !
Returns
A string containing the dumped specification in V3 YAML format.