Capsule.from_data

classmethod Capsule.from_data(data)[source]

Construct an object of this type from the provided data.