CCI-MOC / xdmod-cntr

A project to prototype the use of XDMOD with OpenStack and OpenShift on the MOC
1 stars 5 forks source link

refactor process_hierarchy.py:process_data #178

Open rob-baron opened 1 year ago

rob-baron commented 1 year ago

The function, process_data(cursor, hierarchy, keycloak_info, coldfront_info), in the process_hierarchy.py module is overly complex given how the data from keycloak is. It can be made simpler by splitting into 2 functions, the first processing the data coming from keycloak then processing the data from coldfront.

for now have disabled the too-many-locals warning from pylint.

This is not critical for an MVP