MCPcopy Create free account

hub / github.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI / functions

Functions574 in github.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI

Functioninitialize_database
()
tests/test_chapter7_authentication.py:24
Functionis_even
(i: int)
chapter2/chapter2_type_hints_08.py:10
Functionlist_factory
()
chapter4/chapter4_fields_validation_02.py:7
Functionlist_items
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_function_dependency_02.py:17
Functionlist_items
(p: Tuple[int, int] = Depends(pagination.skip_limit))
chapter5/chapter5_class_dependency_02.py:33
Functionlist_items
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_class_dependency_01.py:25
Functionlist_items
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_function_dependency_01.py:13
Functionlist_posts
( pagination: Tuple[int, int] = Depends(pagination), database: Database = Depends(get_database), )
chapter6/sqlalchemy/app.py:50
Functionlist_posts
( pagination: Tuple[int, int] = Depends(pagination), database: AsyncIOMotorDatabase = Depends(get_data
chapter6/mongodb/app.py:52
Functionlist_posts
(pagination: Tuple[int, int] = Depends(pagination))
chapter6/tortoise/app.py:29
Functionlist_posts
( pagination: Tuple[int, int] = Depends(pagination), database: Database = Depends(get_database), )
chapter6/sqlalchemy_relationship/app.py:58
Functionlist_posts
(pagination: Tuple[int, int] = Depends(pagination))
chapter6/tortoise_relationship/app.py:37
Functionlist_posts
( pagination: Tuple[int, int] = Depends(pagination), database: AsyncIOMotorDatabase = Depends(get_data
chapter6/mongodb_relationship/app.py:53
Functionlist_posts
(pagination: Tuple[int, int] = Depends(pagination))
chapter10/project/app/app.py:31
Functionlist_things
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_function_dependency_02.py:23
Functionlist_things
(p: Tuple[int, int] = Depends(pagination.page_size))
chapter5/chapter5_class_dependency_02.py:39
Functionlist_things
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_class_dependency_01.py:31
Functionlist_things
(p: Tuple[int, int] = Depends(pagination))
chapter5/chapter5_function_dependency_01.py:19
Functionlogin
(response: Response, email: str = Form(...), password: str = Form(...))
chapter7/csrf/app.py:76
Functionmodule_function
()
chapter2/chapter2_basics_module.py:1
Functionnumpy_double
(array)
chapter11/chapter11_compare_operations.py:15
Methodpage_size
( self, page: int = Query(1, ge=1), size: int = Query(10, ge=0), )
chapter5/chapter5_class_dependency_02.py:20
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter5/chapter5_function_dependency_02.py:8
Functionpagination
(skip: int = 0, limit: int = 10)
chapter5/chapter5_function_dependency_01.py:8
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/sqlalchemy/app.py:29
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/mongodb/app.py:24
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/tortoise/app.py:16
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/sqlalchemy_relationship/app.py:33
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/tortoise_relationship/app.py:21
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter6/mongodb_relationship/app.py:25
Functionpagination
( skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter10/project/app/app.py:18
Functionpartial_update
(id: int, post_update: PostPartialUpdate)
chapter4/chapter4_working_pydantic_objects_05.py:41
Methodpasswords_match
(cls, values)
chapter4/chapter4_custom_validation_02.py:10
Functionperson
(address)
chapter9/chapter9_introduction_fixtures_test.py:17
Functionpost
(request: Request)
chapter7/cors/app_without_cors.py:12
Functionpost
(request: Request)
chapter7/cors/app_with_cors.py:23
Methodpredict
Runs a prediction
chapter13/chapter13_prediction_endpoint.py:30
Functionprediction
( output: PredictionOutput = Depends(newgroups_model.predict), )
chapter13/chapter13_caching.py:54
Functionprediction
( output: PredictionOutput = Depends(newgroups_model.predict), )
chapter13/chapter13_prediction_endpoint.py:44
Functionprotected_route
(token: str = Depends(api_key_header))
chapter7/chapter7_api_key_header.py:11
Functionprotected_route
()
chapter7/chapter7_api_key_header_dependency.py:15
Functionprotected_route
(user: UserDB = Depends(get_current_user))
chapter7/authentication/app.py:67
Functionprotected_route
()
chapter5/chapter5_path_dependency_01.py:14
Functionredirect
()
chapter3/chapter3_custom_response_03.py:8
Functionredirect
()
chapter3/chapter3_custom_response_02.py:8
Functionregister
(user: UserCreate)
chapter7/csrf/app.py:60
Functionregister
(user: UserCreate)
chapter7/authentication/app.py:35
Functionroute1
()
chapter5/chapter5_global_dependency_01.py:15
Functionroute2
()
chapter5/chapter5_global_dependency_01.py:20
Functionrouter_route1
()
chapter5/chapter5_router_dependency_02.py:15
Functionrouter_route1
()
chapter5/chapter5_router_dependency_01.py:15
Functionrouter_route2
()
chapter5/chapter5_router_dependency_02.py:20
Functionrouter_route2
()
chapter5/chapter5_router_dependency_01.py:20
Functionsecret_header
(secret_header: Optional[str] = Header(None))
chapter5/chapter5_global_dependency_01.py:6
Functionsecret_header
(secret_header: Optional[str] = Header(None))
chapter5/chapter5_path_dependency_01.py:8
Functionsecret_header
(secret_header: Optional[str] = Header(None))
chapter5/chapter5_router_dependency_02.py:6
Functionsecret_header
(secret_header: Optional[str] = Header(None))
chapter5/chapter5_router_dependency_01.py:6
Functionshutdown
()
chapter8/broadcast/app.py:61
Functionshutdown
()
chapter6/sqlalchemy/app.py:25
Functionshutdown
()
chapter6/sqlalchemy_relationship/app.py:29
Functionshutdown
()
chapter9/chapter9_app.py:17
Methodskip_limit
( self, skip: int = Query(0, ge=0), limit: int = Query(10, ge=0), )
chapter5/chapter5_class_dependency_02.py:12
Functionslow_async
Runs in the main process
chapter13/chapter13_async_not_async.py:14
Functionslow_sync
Runs in a thread
chapter13/chapter13_async_not_async.py:21
Methodsplit_string_values
(cls, v)
chapter4/chapter4_custom_validation_03.py:10
Functionstandard_double
(array)
chapter11/chapter11_compare_operations.py:8
Functionstartup
()
chapter14/chapter14_api.py:31
Functionstartup
()
chapter14/websocket_face_detection/app.py:54
Functionstartup
()
chapter8/broadcast/app.py:56
Functionstartup
()
chapter13/chapter13_caching.py:66
Functionstartup
()
chapter13/chapter13_prediction_endpoint.py:51
Functionstartup
()
chapter6/sqlalchemy/app.py:19
Functionstartup
()
chapter6/sqlalchemy_relationship/app.py:23
Functionstartup
()
chapter9/chapter9_app.py:12
Functionstartup
()
chapter10/project/app/app.py:68
Methodtest_acceptable_format
(self, client: httpx.AsyncClient, format: str)
tests/test_chapter3.py:273
Functiontest_add
()
chapter9/chapter9_introduction_pytest.py:4
Functiontest_add
(a, b, result)
chapter9/chapter9_introduction_pytest_parametrize.py:7
Methodtest_add
(self)
chapter9/chapter9_introduction_unittest.py:7
Functiontest_address_country
(address)
chapter9/chapter9_introduction_fixtures_test.py:28
Methodtest_all
(self, client: httpx.AsyncClient)
tests/test_chapter3_project.py:28
Methodtest_all
(self, client: httpx.AsyncClient)
tests/test_chapter3_project.py:77
Methodtest_backpressure
(self, websocket_client: TestClient)
tests/test_chapter14.py:51
Methodtest_broadcast
(self, websocket_client: TestClient)
tests/test_chapter8.py:92
Methodtest_capped_limit
(self, client: httpx.AsyncClient, path: str)
tests/test_chapter5.py:96
Methodtest_capped_limit
(self, client: httpx.AsyncClient, path: str)
tests/test_chapter5.py:171
Methodtest_cat
(self, client: httpx.AsyncClient)
tests/test_chapter3.py:748
Functiontest_chapter12_cross_validation
()
tests/test_chapter12.py:22
Functiontest_chapter12_finding_parameters
()
tests/test_chapter12.py:41
Functiontest_chapter12_fit_predict
()
tests/test_chapter12.py:10
Functiontest_chapter12_gaussian_naive_bayes
()
tests/test_chapter12.py:28
Functiontest_chapter12_load_digits
()
tests/test_chapter12.py:4
Functiontest_chapter12_pipelines
()
tests/test_chapter12.py:16
Functiontest_chapter12_svm
()
tests/test_chapter12.py:35
Functiontest_chapter13_dump_joblib
()
tests/test_chapter13.py:15
Functiontest_chapter13_load_joblib
()
tests/test_chapter13.py:26
Functiontest_chapter2_basics_02
()
tests/test_chapter2.py:5
Functiontest_chapter2_basics_03
()
tests/test_chapter2.py:11
Functiontest_chapter2_basics_04
()
tests/test_chapter2.py:21
Functiontest_chapter2_basics_05
()
tests/test_chapter2.py:29
← previousnext →201–300 of 574, ranked by callers