Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def build_parameter(self, args):
'''
Build a GillesPy2 parameter.
Attributes
----------
args : dict
A json representation of a parameter.
'''
name = args['name'].strip()
expression = args['expression']
return Parameter(name=name, expression=expression)