MCPcopy Create free account

hub / github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB-2nd-Edition / functions

Functions142 in github.com/PacktPublishing/Full-Stack-FastAPI-React-and-MongoDB-2nd-Edition

Functionlist_cars
( request: Request, # user=Depends(auth_handler.auth_wrapper), page: int = 1, limit: int = CAR
Chapter07/backend/routers/cars.py:157
Functionlist_users
(request: Request, user_data=Depends(auth_handler.auth_wrapper))
Chapter06/backend/routers/users.py:85
Functionlogin
(request: Request, loginUser: LoginModel = Body(...))
Chapter07/backend/routers/users.py:43
Functionlogin
(request: Request, loginUser: UserIn = Body(...))
Chapter06/backend/routers/users.py:49
Functionlogin
(status, formData)
Chapter10/src/actions.js:16
Functionlogin
( background_tasks: BackgroundTasks, loginUser: LoginUser = Body(...) )
Chapter09/routers/user.py:34
Functionlogout
()
Chapter06/frontend/src/AuthContext.jsx:84
Functionlogout
()
Chapter10/src/actions.js:52
Functionlogout
()
Chapter08/src/contexts/AuthContext.jsx:87
Functionme
( request: Request, response: Response, user_data=Depends(auth_handler.auth_wrapper) )
Chapter07/backend/routers/users.py:66
Functionme
(request: Request, user_data=Depends(auth_handler.auth_wrapper))
Chapter06/backend/routers/users.py:72
Functionme
(user_data=Depends(auth_handler.auth_wrapper))
Chapter09/routers/user.py:53
Functionme_user
()
Chapter04/chapter4_03.py:12
Functionnew_car
(data: Dict = Body(...))
Chapter04/chapter4_06.py:8
Functionnew_car
(data: InsertCar)
Chapter04/chapter4_07.py:15
Functionnew_car_model
(car: InsertCar, user: UserModel, code: int = Body(None))
Chapter04/chapter4_08.py:20
Functionnew_car_model
(car: InsertCar)
Chapter04/chapter4_14.py:14
FunctiononSubmit
(data)
Chapter08/src/components/CarForm.jsx:75
FunctiononSubmitForm
(data)
Chapter08/src/components/LoginForm.jsx:24
Functionpage
()
Chapter10/src/app/private/page.js:5
Functionpage
()
Chapter10/src/app/login/page.js:3
Functionpagination
(q: str | None = None, skip: int = 0, limit: int = 100)
Chapter04/chapter4_15.py:7
Functionpost_root
()
Chapter04/chapter4_01.py:12
Functionraw_fa_response
()
Chapter04/chapter4_13.py:7
Functionraw_request
(request: Request)
Chapter04/chapter4_09.py:7
Functionread_headers
(user_agent: Annotated[str | None, Header()] = None)
Chapter04/chapter4_10.py:9
Functionread_items
(commons: Annotated[dict, Depends(pagination)])
Chapter04/chapter4_15.py:12
Functionread_root
()
Chapter09/app.py:38
Functionread_users
(commons: Annotated[dict, Depends(pagination)])
Chapter04/chapter4_15.py:17
Functionregister
(request: Request, newUser: LoginModel = Body(...))
Chapter07/backend/routers/users.py:18
Functionregister
(request: Request, newUser: UserIn = Body(...))
Chapter06/backend/routers/users.py:22
Functionroot
()
Chapter04/chapter4_17.py:18
Functionroot
(id)
Chapter04/chapter4_02.py:7
Functionroot
()
Chapter04/chapter4_01.py:7
Methodserialize_balance
(self, value: float)
Chapter03/chapter3_13.py:11
Methodserialize_updated
(self, value: datetime)
Chapter03/chapter3_13.py:15
Functionshow_car
Get the record for a specific car, looked up by `id`.
Chapter07/backend/routers/cars.py:133
Functionupdate_car
Update individual fields of an existing car record. Only the provided fields will be updated. Any missing or `null` fields will be ignor
Chapter07/backend/routers/cars.py:183
Functionupdate_car
(car_id: PydanticObjectId, cardata: UpdateCar)
Chapter09/routers/cars.py:111
Functionupload
( picture: UploadFile = File(...), brand: str = Form(...), model: str = Form(...) )
Chapter04/chapter4_12.py:9
Functionupload
( file: UploadFile = File(...), brand: str = Form(...), model: str = Form(...) )
Chapter04/chapter4_11.py:7
Functionuser
(id: int)
Chapter04/chapter4_03.py:7
← previous101–142 of 142, ranked by callers