comparison Resources/Samples/Python/HighPerformanceAutoRouting.py @ 3349:ef18ea68a362

merge
author Alain Mazy <alain@mazy.be>
date Thu, 18 Apr 2019 15:52:56 +0200
parents ca65e3dcce72
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3348:a1cd981a0f9a 3349:ef18ea68a362
68 'since' : current, 68 'since' : current,
69 'limit' : 4 # Retrieve at most 4 changes at once 69 'limit' : 4 # Retrieve at most 4 changes at once
70 }) 70 })
71 71
72 for change in r['Changes']: 72 for change in r['Changes']:
73 # We are only interested interested in the arrival of new instances 73 # We are only interested in the arrival of new instances
74 if change['ChangeType'] == 'NewInstance': 74 if change['ChangeType'] == 'NewInstance':
75 queue.put(change['ID']) 75 queue.put(change['ID'])
76 76
77 current = r['Last'] 77 current = r['Last']
78 78