to_dict#

RuntimeEnv.to_dict() → Dict[source]#

Return the runtime environment as a plain dict.

Returns:

A deep copy of the runtime environment fields as a dict, with a config field converted from a RuntimeEnvConfig to a dict.

Return type:

Dict