4.2.8. RunoffsContainer

class pyprom.lib.containers.runoffs.RunoffsContainer(runoffList)[source]

Container for Runoffs. Allows for various list transformations.

__init__(runoffList)[source]
Parameters:runoffList (list(pyprom.lib.locations.runoff.Runoff)) – list of Runoff objects to reside in this container.
__repr__()[source]
Returns:String representation of this object
__str__()
Returns:String representation of this object
__unicode__()
Returns:String representation of this object
classmethod from_dict(runoffContainerDict, datamap=None)[source]

Load this object and child objects from a dict.

Parameters:
  • runoffsContainerDict – dict() representation of this object.
  • datamap (pyprom.lib.datamap.DataMap) – datamap which MultiPoint style Runoffs use.
Returns:

New RunoffsContainer

Return type:

RunoffsContainer

to_dict()[source]
Returns:dict() representation of RunoffsContainer