
from nz.org.riskscape.engine.types import Text

ID = 'simple:integer'
DESCRIPTION = "this is function2"
ARGUMENT_TYPES = ['asset:building', 'hazard:simple:integer']

RETURN_TYPE = Text()

def function(asset, feature):
  result = "%s + %s" % (asset.value['age'], feature.value)
  return result
