pylabrobot.resources.Carrier.serialize# Carrier.serialize() → dict# Serialize this resource. Return type: dict