How to Use Flask with FastAPI (Including Flask in FastAPI Python)

preview_player
Показать описание
In this tutorial we will explore how to use Flask with FastAPI and how to include WSGI web frameworks within FASTAPI.

🎓=== Check out these Awesome Data Science Courses!===🎓

If you liked the video don't forget to leave a like 👍 or subscribe ❤️.
⚡ If you need any help just message me in the comments, you never know it might help someone else too. ⚡

J-Secur1ty JCharisTech

Support the Channel: Become a Patreon

◾◾◾Get The Data Science Prime App◾◾◾

◾◾◾ Need Your Dataset Cleaned check out this gig ◾◾◾

Follow
Рекомендации по теме
Комментарии
Автор

can you use flask auth/login libraries then to control access to the fastapi endpoints? so for examplle required login decorator

stephenthumb
Автор

Grease and very informative, thanks. What if we want to use flask_forms and render api result in flask mounted section and not in different routes?

dannisisgt
Автор

Amazing stuff Jesse! Thanks for your quality work!

littlecoder
Автор

Interesting video. What would be the posible benefits of embedding flask in fastapi?

ehdlm
Автор

Does the Flask profit from the faster FastAPI WSGI?

jags
Автор

Any idea if fastapi can integrate to share existing flask app with sqalchemy database? Experimented a bit, seems too complicated...

yomajo
Автор

Nice monolith design, thanks for sharing

realsushi_official
Автор

I get : await self.app(scope, receive, send)
TypeError: __call__() takes 3 positional arguments but 4 were given
I have no Idea how to solve it ( I replaced from fastapi.middleware.wsgi import WSGImiddleware by from a2wsgi import ASGIMiddleware, since i got ImportError: cannot import name 'WSGImiddleware' from 'fastapi.middleware.wsgi' (c:\users\hana for the first one). I have no idea how to solve it. would you help me ?

yasminamran