- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 152 for Simple (0.07 seconds)
-
docs/es/docs/tutorial/security/simple-oauth2.md
# Simple OAuth2 con Password y Bearer { #simple-oauth2-with-password-and-bearer } Ahora vamos a construir a partir del capítulo anterior y agregar las partes faltantes para tener un flujo de seguridad completo. ## Obtener el `username` y `password` { #get-the-username-and-password } Vamos a usar las utilidades de seguridad de **FastAPI** para obtener el `username` y `password`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
* APIs externas * sistemas de autenticación y autorización * sistemas de monitoreo de uso de la API * sistemas de inyección de datos de response * etc. ## Simple y Poderoso { #simple-and-powerful } Aunque el sistema de inyección de dependencias jerárquico es muy simple de definir y usar, sigue siendo muy poderoso. Puedes definir dependencias que a su vez pueden definir dependencias ellas mismas.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.1K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
Apart from all the fancy words used here, the **Dependency Injection** system is quite simple. Just functions that look the same as the *path operation functions*. But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees). /// tip All this might not seem as useful with these simple examples. But you will see how useful it is in the chapters about **security**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
fastapi/security/oauth2.py
fields `username` and `password`. All the initialization parameters are extracted from the request. Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPICreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
Or you might have any other way to communicate with the WebSocket endpoint. --- But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string. This, of course, is not optimal and you wouldn't use it for production. In production you would have one of the options above.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
private static final Logger logger = LogManager.getLogger(DataStoreFactory.class); /** * Map containing registered data store instances indexed by their names and class simple names. * All keys are stored in lowercase for case-insensitive lookup. */ protected Map<String, DataStore> dataStoreMap = new LinkedHashMap<>(); /**
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/sub-dependencies.md
Solo son funciones que se ven igual que las *path operation functions*. Pero aun así, es muy potente y te permite declarar "grafos" de dependencia anidados arbitrariamente profundos (árboles). /// tip | Consejo Todo esto podría no parecer tan útil con estos ejemplos simples. Pero verás lo útil que es en los capítulos sobre **seguridad**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/works_with_okhttp.md
* [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp. * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor. * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 26 07:59:38 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/es/docs/advanced/websockets.md
O podrías tener alguna otra forma de comunicarte con el endpoint de WebSocket. --- Pero para este ejemplo, usaremos un documento HTML muy simple con algo de JavaScript, todo dentro de un string largo. Esto, por supuesto, no es lo ideal y no lo usarías para producción. En producción tendrías una de las opciones anteriores.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
tests/test_dependency_after_yield_streaming.py
BrokenSessionDep = Annotated[Session, Depends(broken_dep_session)] app = FastAPI() @app.get("/data") def get_data(session: SessionDep) -> Any: data = list(session) return data @app.get("/stream-simple") def get_stream_simple(session: SessionDep) -> Any: def iter_data(): yield from ["x", "y", "z"] return StreamingResponse(iter_data()) @app.get("/stream-session")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0)