anitab-org / anitab-org/mentorship-backend
Enhancement: Use Enum Representation in Mentorship Relation
オープン
Category: Coding
Open Source Hack
Type: Enhancement
- 主要言語
- Python
- スター
- 200
- フォーク
- 449
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Description
I want to ensure that the database queries are fast and take less space for storage.
https://github.com/anitab-org/mentorship-backend/blob/8924616fa20d5d37026f48ef1481e00932622b2a/app/api/dao/mentorship_relation.py#L139
In the code above :point_up: , we are using string values for relation state which should be avoided.
## Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.
## Estimation
5-6 hours
コントリビューションガイド
評価
この issue はまだ評価されていません。