cpdflow.wml.wml.get_spaces

get_spaces(config: dict) dict[source]

Get all spaces.

Parameters:

config (dict) – configuration dictionary

Returns:

a dictionary of space names as keys and ids as values

Return type:

dict