[vcf_etl%vcf_record] Create a `RecordCall` class
Closed this issue · 2 comments
dgomezpere commented
-
record.calls
must be a list ofRecordCall
objects:
print(record.calls)
[out]:
[
<RecordCall class>,
<RecordCall class>,
<RecordCall class>,
<RecordCall class>,
]
- A
RecordCall
object must have asample
anddata
(extendscollections.OrderedDict
class) properties.
print(record.calls[idx].sample)
[out]:
"pepito"
print(record.calls[idx].data)
[out]:
OrderedDict({
"key1": value1,
"key2": value2,
"keyN": valueN,
})
segarmond commented
Check setter for RecordCall
dgomezpere commented
Related commit: f2d4ce4