ai-cfia / ai-cfia/ailab-datastore

As a frontend dev, I need to fetch units by category

未關閉
#223 1 則留言 0 個 reaction 已指派 1 人 已被 @Francois-Werbrouck 認領 在 GitHub 檢視
主要語言
Python
星號
3
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

## Description

**Context**
In the Fertiscan frontend, I need to be able to fetch units by category. Currently, `metric` has a `metric_type` enum that categorizes metrics as either `density`, `volume`, or `weight`. These are the perfect categories for units as well.

**Problem Statement**
![image](https://github.com/user-attachments/assets/8d9e640f-0c32-49ac-8f85-2c320aecc254)

What if `metric_type` was renamed and associated with `unit` instead? Could `metric` still derive its category from its `unit`?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。