get_all_maps
get dict of all parent and child maps
Last updated
get dict of all parent and child maps
Last updated
Generates a dictionary of all the currently mapped parent and child attribute name references, and returns a dict representation of the maps. This method currently has no parameters.
Useful if it is desired to view or reference all currently mapped attribute names.
Basic Example of getting a dict of all the currently mapped attribute names of the
In this example, we simply use the get_all_maps method on the to get a generated copy of the currently mapped parent and child attribute name references, currently held inside the maci object, as a dictionary, and assign the returned dict data to a variable.
Each map has its own dedicated key name. Examples below show empty maps and maps with a basic reference.
Example output of empty maps showing dedicated key names
Example output of maps with basic references
Parent maps will have their own parent key name matching its attribute name with a value to all child maps referencing the parent attribute name.
Child maps will have their own child key name matching its attribute name with a value to the parent attribute name they are referencing.
For more information on the mapping concept, see in the language section and .
Methods that provide related utility to this method
-> Map an attribute name -> Unmap an attribute name