pylabrobot.tilting.tilter.Tilter.deserialize

pylabrobot.tilting.tilter.Tilter.deserialize#

classmethod Tilter.deserialize(data: dict)#

Deserialize a resource from a dictionary.

Examples

Loading a resource from a json file:

>>> from pylabrobot.resources import Resource
>>> with open("my_resource.json", "r") as f:
>>>   content = json.load(f)
>>> resource = Resource.deserialize(content)
Parameters:

data (dict)