fastapi-course's People
Forkers
massimiliano76 shahriyarr baghdady92 chandravardhansingh firdous-bhat detectiveosint accelleratorcloud mattlz vimcoper scottpeterman siumhossain weichselriver emillech ecrespo marttp toanphung devendrajha jvhuang1786 v-k-k kunchalavikram1427 arijitthehacker amitmoralwar arifmudi jinzhaochaliang efmanu vasantvohra taranvir031196 ikaushikpal sepide-aghaei antonizdp zdonaldz mnn111 stevvvvvi anilpothula ajay5121992 kawael asjones-code renaldyhidayatt aditmodi khindva mamuntheprogrammer yamaryu211 gabrielhdez41 jairoandrescastaneda ashishmenkudale hoooni mrrezkii brayanmota kirill-developer ramvenuturumilli nchannelmosfet zoli1212 ahmedgarip raghuv119 bmro fullstack-spiderman ashishume azirbayeva jrhero14 srijitha-s wei-jei-chou pankeshpatel derciosinione harunpehlivan sumit-sharma petrostz abmounir ngarimuya ken6317461024 nik0811 ctrlji electhai xandersavvy uxhao-o davidyangfei narredondo89 rabmarjan guytzero unustudents davethomas97 kamoliddins davi-r-franca wnvsim sagar-mashru nirvana21e cristianvillalobossilvacl hansenf manbobo2002 ksrija lacoski madhuripatil01 amandeep2606 ibrandr saaqure94 abhishekpanwarrr gpdsec omss1122 aliaarif vnagireddy-ow samarthasthanfastapi-course's Issues
RecursionError
maximum recursion depth exceeded in comparison
500 Response on Update Blog Action
When trying out the update blog action, I get a 500 response, with the following error in console:
AttributeError: 'Blog' object has no attribute 'items'
It appears others have run into this sort of issue. See this link.
I'm using the enviroment provided with the repo, so I'm not sure what other variation there could be. Looking at other examples. it seems other developers opt to loop through the contents of the request, instead of passing the whole object as an argument into update().
Using Python 3.7.8
Fetch current active user.
In a repository blog, you are just passing user_id = 1. But it should be any user which is active currently. So how we can fetch that active user_id.
Update API doesn't work
AttributeError: 'Blog' object has no attribute 'items'
cannot import name 'EXACT_TOKEN_TYPES' from 'token'
After creating the Token.py file and importing it on Authentication.py. It gives out the error
from token import EXACT_TOKEN_TYPES ImportError: cannot import name 'EXACT_TOKEN_TYPES' from 'token' (C:\Users\110342\source\sources\FastAPI - Tutorial\Blog\token.py)
Issue with creation of a Blog
Hello. Thanks for the tutorial. I would like to highlight that the function to create a blog is not completely done. We need to pass the user_id as an argument. But in this demo, this value is set to 1. This means all the blog created will be assigned to user with id=1.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.