anitab-org / anitab-org/mentorship-backend

Enhancement: Use Enum Representation in Mentorship Relation

オープン
#1,143 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。