pymetkit.experimental.mars2mars#

Submodules#

Classes#

Mars2Mars

Mars2Mars

Package Contents#

class Mars2Mars(options: dict = {})#

Mars2Mars

_mars2mars#
convert(mars_request: pymetkit.pymetkit.MarsRequest | dict[Any, Any]) tuple[dict[Any, Any], dict[Any, Any]]#

Convert a mars request

Note:#

If you plan to encode the output of Mars2Mars’ convert method, call it with a typed python dictionary, as the types are internally needed. Hand the result of that operation to this encode method (it currently doesn’t support MarsRequests).

return:

Tuple of misc and mars dictionary