in utils/wheel_feeder.py [0:0]
def _upload_participants(self, csv_reader):
"""
Drives upload of all participants.
:param csv_reader: CSV Reader Object
:type csv_reader: obj
"""
wheel_full_url = "{}/api/wheel/{}/participant".format(
self._wheel_url,
self._wheel_id
)
print(f'Full URL of the Wheel: {wheel_full_url}')
for row in csv_reader:
self._upload_participant(row, wheel_full_url)