aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/db/test_traits.py
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-07-30 10:09:56 +0300
committerMuriithi Frederick Muriuki2021-07-30 10:24:12 +0300
commit3e5ce62f9c46ff63d3ba3d83140ed698a934a7c3 (patch)
treeb2ee031261d955bdfd716f983fc88f02cf3a97fd /tests/unit/db/test_traits.py
parentc4f362d9a9b83f4fc6fadde0989663dd34fb0b07 (diff)
downloadgenenetwork3-3e5ce62f9c46ff63d3ba3d83140ed698a934a7c3.tar.gz
Add module for common utilities
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * gn3/function_helpers.py: new file Provides a new module to hold common programming utilities that are generic enough that they will find use across the entire application. The first utility function provided in this commit is the `compose` function, whose purpose, as indicated by its name, is to take a number of functions and compose them into a single function, which when called, will return the same result that would have been got had the user called the functions in a chain from right to left.
Diffstat (limited to 'tests/unit/db/test_traits.py')
0 files changed, 0 insertions, 0 deletions