2021-12-12 Fred Gleason <fredg@paravelsystems.com>

* Added a 'SchedulerCode()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.ListCartSchedCodes()' call to return
	a list of 'rivwebpyapi.SchedulerCode' objects.
	* Modified the 'rivwebpyapi.ListSchedulerCodes()' call to return
	a list of 'rivwebpyapi.SchedulerCode' objects.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-12-12 16:28:45 -05:00
parent c216bc618c
commit b9164bad15
4 changed files with 35 additions and 27 deletions

View File

@@ -77,6 +77,6 @@ except rivwebpyapi.RivWebPyError as err:
# Display the code list
#
for code in codes:
print('code: '+str(code['code']))
print('description: '+str(code['description']))
for key in code.values():
print(key+': '+str(code.values()[key]))
print('')

View File

@@ -72,6 +72,6 @@ except rivwebpyapi.RivWebPyError as err:
# Display the code list
#
for code in codes:
print('code: '+str(code['code']))
print('description: '+str(code['description']))
for key in code.values():
print(key+': '+str(code.values()[key]))
print('')