You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically stuff like this should be done with a single connection & query to sql, then the loop should just be in python to move the data around in memory.
The text was updated successfully, but these errors were encountered:
I should also note that this is pretty uncommon in the codebase and most of these occurrences are from some of the oldest portions of the code. For example the link to the example I provided above is actually from gulag's 2nd ever commit, and my development practices have definitely improved since :P.
Finished the obvious ones, going to do some more things like probably pass a db cursor into domains.cho.login() and perhaps make them optional arguments in a few other functions/methods for special case optimizations.
Basically stuff like this should be done with a single connection & query to sql, then the loop should just be in python to move the data around in memory.
The text was updated successfully, but these errors were encountered: