databay.record¶
-
class
databay.record.
Record
(payload, metadata: dict = None)[source]¶ databay.record.Record
Data structure representing the data passed between inlets and outlets.
Warning
You should prefer
Inlet.new_record()
function over instantiating this class directly.- Parameters
payload (Any) – Data contained by this record.
metadata (dict) – Metadata attached to this record
Default:None
(Set to emptydict
if not provided)