Investigate `fastapi-pagination` package for getting response without alias
@JenySadadia já está trabalhando nisso.
Desde 20/6/2023.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 10
- Forks
- 22
- Merge médio
- 22min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de kernelci/kernelci-api
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
kernelci/kernelci-api#706 ·
-
Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn'tTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertadocumentation
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
kernelci/kernelci-api#632 · 1 comentário ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
kernelci/kernelci-api#629 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
kernelci/kernelci-api#608 ·
-
password creation: non-fatal bcript error outputTalvez já em andamento @Hao-Chen2337 assumiu há 11 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
kernelci/kernelci-api#597 · 2 comentários ·
Todas as issues de kernelci/kernelci-api
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
mihai-vlc/sublime-jsfmt#56 ·
-
comp/cli comp/plugins P2 type/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
NousResearch/hermes-agent#141917 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()Talvez já em andamento @apoorvdarshan assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
BasedHardware/omi#22770 ·
Mantenedores costumam responder em até 1 dia
-
bug needs-acceptance wg/router-models-inference-runtime
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
vllm-project/semantic-router#5295 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
huggingface/huggingface_hub#5210 ·
Mantenedores costumam responder em até 1 dia