3.FASTAPI's dependency injection system leverages Python's type hints
and function annotations to automatically resolve and inject dependencies,such as using Depends() to hold the session when establishing a db connection and give it to the routes function,
used for auth tokens
#Fastapis#Restapis
Dependency injection:
1.Dependency injection in FASTAPIS
enable clean and modular code by allowing the injection of dependency
into the routes.
2.Dependencies such as database
connection like sessions, auth services are easily managed into the
routes.
Revving up my learning engine!🚀.
Time to dive deeper into advanced concepts and Time to level up on Python, Flask, Django, FASTAPIS.
Taking DB PostgreSQL to next level.Deep dive into majoe Projects.Lets push boundaries #Python#CodingJourney#API#Django#Database#Linux#DevOps
@jayaswinipatil@jayaswinipatil i am really sorry to hear that you're feeling this way. It's tough when each day feels like a battle.Just know that you're not alone in this and there's always hope for brighter days ahead. You're stronger than you realize.I believe you have strength to overcome.
This is the best new AI tool for research.
Just upload a PDF file, ask a question, and get an answer in seconds.
It's like ChatGPT, but built for researchers.
Try it for free.
Day 21 of #10DaysOfCode
-Refering to the official DRF documentation.
- completed learning about Requests and Responses using Rest_framwork(Wrapping API Views)
- writing different type Serialization
In rest_framwork.
- now checking on Authentication and permissions
Day 15 to 20 of #100DaysOfCode
- written collage practical exams .
- Revised Python Basics these days.
- referred to Django books which i read in past.
- Seeing Django REST framework
Main documentation.
(still in the process. Getting so much delay 😔 in my learning process.)
Day 14 of #100DaysOfCode
On progress DRF.
-learnt about Serializers like using superclass "serializers.Serializers"
and shortcut for above superclass
"ModelSeializers".
-learnt about ViewSet and Learnt how to view the serializers
-more about "Csrf_exempt"
Day 12 of #100DaysOfCode
Started Computer Networking by @kunalstwt .
- Build a python script that will push no of events to the Topic of a @apachekafka with unique no duplicates allowed.
- learnt about Singe Page Apps (SPAs)
- Known about CORS while building APIs usingDRF
Day 54 #100DaysOfCode
Work/Dev:
- Learnt about AWS Lambda functions
- More about FastAPI
- Learnt how Gpt plugins work
- Debugging
Leetcode:
✓ Smallest Number in Infinite Set
✓ Last Stone Weight
Gfg:
- None today
Day 7 of #100DaysOfCode
Not much productive today
Lazy Sunday
-Practiced git and GitHub learnt from @kunalstwt
- started the Linux by @kunalstwt
Which is awesome 😎
Day 6 of #100DaysOfCode
- created to_do list api without frontend involving just api
- to_do list api has two endpoints
1. List of all tasks
2. Detail view of single task with pk
- Learnt git and GitHub again from scratch by @kunalstwt .
Day 5 of #100DaysOfCode
- Build an basic Library website using traditional Django.
-installed Django Restframework
& created a library api (web api)
- that api is designed to just display the list of books in json format.
- will discover more on DRF by doing diff projects.
Day 4 of #100DaysOfCode
- Started the book called Django rest framework
- creating a basic django relatedlibrary website.
-for that created Library website goona use and learn how to build
API for that project.
- learning DRF and implementing
REST APIs to construct Library API