Add vstp field

This commit is contained in:
Fred Boniface 2023-07-27 20:16:42 +01:00
parent ec6e425a0d
commit 2662e3e18a
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ def insertSchedule(sch_record):
document = {
'transactionType': schedule.get('transaction_type'),
'stpIndicator': schedule.get('CIF_stp_indicator'),
'vstp': False,
'operator': schedule.get('atoc_code'),
'trainUid': scheduleId,
'headcode': schedule.get('schedule_segment', {}).get('signalling_id'),