Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web フレームワーク FastAPI で遊ぶ #30

Open
laughk opened this issue Jun 13, 2020 · 4 comments
Open

Web フレームワーク FastAPI で遊ぶ #30

laughk opened this issue Jun 13, 2020 · 4 comments
Assignees

Comments

@laughk
Copy link
Owner

laughk commented Jun 13, 2020

https://fastapi.tiangolo.com/

最近 Python で Web API 作るならよさそうみたいな情報をちらほら見かけていたのでゆるゆる遊んでみる

参考

@laughk
Copy link
Owner Author

laughk commented Jun 13, 2020

ASGI ... 最近まったくこの辺キャッチアップできてなくて遠い昔にチラ見したのをようやく思い出した。

Uvicorn

@laughk
Copy link
Owner Author

laughk commented Jun 13, 2020

チュートリアルはここがスタートだった。
ドキュメントがいい感じに出る感すごいなー

https://fastapi.tiangolo.com/tutorial/

@laughk
Copy link
Owner Author

laughk commented Jun 13, 2020

https://fastapi.tiangolo.com/tutorial/query-params/#optional-type-declarations

Optional Type 使ったやり方おもしろい!

@laughk
Copy link
Owner Author

laughk commented Jun 13, 2020

📝 pydantic が使われている。リクエストをいい感じに抽象化できるくん的なやつかなー。サンプルコード見てる感じ便利そう。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant