safe.common.resource_parameter module

Docstring for this file.

class safe.common.resource_parameter.ResourceParameter(guid=None)[source]

Bases: safe_extras.parameters.float_parameter.FloatParameter

A parameter handling specifically the resources used in InaSAFE minimum needs.

Parameters:guid (str, None) – The unique reference to use when addressing this value.

The frequency that the resource needs to be supplied getter.

Returns:The frequency.
Return type:str

Convert the parameter into a dictionary.

Returns:The parameter dictionary.
Return type:dict

Property for the unit for the parameter.

Returns:The unit of the parameter.
Return type:Unit