melizalab / neurobank

management system for experimental data
GNU General Public License v2.0
0 stars 1 forks source link

refactor registry module to return URLs rather than making the requests #22

Closed dmeliza closed 1 year ago

dmeliza commented 1 year ago

The registry module has a bunch of functions that are essentially just wrappers around calls to requests with URLs. There is a lot of duplicated code, but the bigger issue is that it locks in a dependency on the requests module that might be nice to bypass in some circumstances. The calls to requests should be moved out to the core module, while registry just provides functions for constructing URLs and query strings