Investigate `fastapi-pagination` package for getting response without alias
@JenySadadia がすでに取り組んでいます。
2023年6月20日 から。
評価
この issue はまだ評価されていません。
説明
In case we use pagination for getting objects (e.g. nodes or regressions) from API, we need to manually serialize the response model to not have alias at the moment.
Please see the detailed issue here: https://github.com/kernelci/kernelci-api/issues/246
FastAPI provides response_model_by_alias flag and we can set it to False in the endpoint handler to fix this issue.
However, this won't work in the case of paginated response.
So, We have fixed this issue in API. PR for the reference: https://github.com/kernelci/kernelci-api/pull/254
Investigate if we can fix the fastapi-pagination package for it to eliminate the requirement to serialize the response manually.
- 主要言語
- Python
- スター
- 10
- フォーク
- 21
- 平均マージ
- 22分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kernelci/kernelci-api のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
kernelci/kernelci-api#706 ·
-
Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンdocumentation
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
kernelci/kernelci-api#632 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
kernelci/kernelci-api#629 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
kernelci/kernelci-api#608 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
kernelci/kernelci-api#597 · コメント 2 件 ·
kernelci/kernelci-api の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Deepak3699/Ai_Mentor#244 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
btclib-org/btclib-node#1880 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING.md: say how ticketless bug fixes and feature PRs are handled対応中かも @khuisman が今日担当しました。 オープンv0.9.2
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
khuisman/mcp-gee-sweet#941 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pyjanitor-devs/pyjanitor#1758 ·
メンテナーはふだん 1 日以内に返信
-
bug ready for review
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
odysseus-dev/odysseus#6641 ·
メンテナーはふだん 1 日以内に返信