diff options
author | Frederick Muriuki Muriithi | 2023-08-28 10:50:44 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-10-10 11:12:45 +0300 |
commit | d8f22144360b22a0ea0f6d81e366150865bbe5fb (patch) | |
tree | 3ab5bf8df41777dc2e55f3a1bbda74cf2d76f6fe | |
parent | 00a91a180b28984dafd01c5544df51943e7a5bee (diff) | |
download | genenetwork3-d8f22144360b22a0ea0f6d81e366150865bbe5fb.tar.gz |
Rename function: Make it clearer what function does.
-rw-r--r-- | gn3/case_attributes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/case_attributes.py b/gn3/case_attributes.py index 1160678..67bb407 100644 --- a/gn3/case_attributes.py +++ b/gn3/case_attributes.py @@ -47,7 +47,7 @@ def __by_strain__(accumulator, item): } } -def __case_attributes_by_inbred_set__( +def __case_attribute_values_by_inbred_set__( conn: Connection, inbredset_id: int) -> tuple[dict, ...]: """ Retrieve Case-Attributes by their InbredSet ID. Do not call this outside @@ -73,7 +73,7 @@ def __case_attributes_by_inbred_set__( def inbredset_case_attribute_values(inbredset_id: int) -> Response: """Retrieve the group's (InbredSet's) case-attribute values.""" with database_connection(current_app.config["SQL_URI"]) as conn: - return jsonify(__case_attributes_by_inbred_set__(conn, inbredset_id)) + return jsonify(__case_attribute_values_by_inbred_set__(conn, inbredset_id)) def __process_edit_data__(form_data) -> tuple[dict, ...]: """Process data from form and return tuple of dicts.""" |