- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 65 for recid2 (0.04 seconds)
-
docs/es/docs/tutorial/middleware.md
/// ## Crear un middleware { #create-a-middleware } Para crear un middleware usas el decorador `@app.middleware("http")` encima de una función. La función middleware recibe: * La `request`. * Una función `call_next` que recibirá la `request` como parámetro. * Esta función pasará la `request` a la correspondiente *path operation*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/es/docs/tutorial/encoder.md
Para eso, **FastAPI** proporciona una función `jsonable_encoder()`. ## Usando el `jsonable_encoder` { #using-the-jsonable-encoder } Imaginemos que tienes una base de datos `fake_db` que solo recibe datos compatibles con JSON. Por ejemplo, no recibe objetos `datetime`, ya que no son compatibles con JSON.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 1.8K bytes - Click Count (0) -
cmd/bucket-policy-handlers_test.go
apiRouter.ServeHTTP(recV2, reqV2) // Assert the response code with the expected status. if recV2.Code != testCase.expectedRespStatus { t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, recV2.Code) } // read the response body. bucketPolicyReadBuf, err = io.ReadAll(recV2.Body) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
// Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(recV2, reqV2) if recV2.Code != testCase.expectedRespStatus { t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, recV2.Code) } errorResponse = APIErrorResponse{} err = xml.Unmarshal(recV2.Body.Bytes(), &errorResponse) if err != nil && !testCase.shouldPass {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
cmd/object-handlers_test.go
// Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(recV2, reqV2) if recV2.Code != testCase.expectedRespStatus { t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, recV2.Code) } // read the response body. actualContent, err = io.ReadAll(recV2.Body) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
.github/workflows/test.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 08:53:59 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/es/docs/how-to/extending-openapi.md
Si no lo tiene, lo genera usando la función de utilidad en `fastapi.openapi.utils.get_openapi`. Y esa función `get_openapi()` recibe como parámetros: * `title`: El título de OpenAPI, mostrado en la documentación. * `version`: La versión de tu API, por ejemplo `2.5.0`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.6K bytes - Click Count (0) -
.github/workflows/test-redistribute.yml
test-redistribute-alls-green: # This job does nothing and is only used for the branch protection if: always() needs: - test-redistribute runs-on: ubuntu-latest steps: - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1.8K bytes - Click Count (0) -
CONTRIBUTING.md
Guava, the best approach is to create an [issue][] (or comment on an existing issue if there is one) requesting the feature and describing specific use cases for it. If we decide to pursue a feature request, it will go through a thorough process of API design and review. Any code should come after this. [APIs]: https://en.wikipedia.org/wiki/API [issue]: https://github.com/google/guava/issues
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 15 18:43:50 GMT 2025 - 4K bytes - Click Count (0) -
docs/pt/docs/tutorial/bigger-applications.md
/// ### Importe as dependências { #import-the-dependencies } Este código reside no módulo `app.routers.items`, o arquivo `app/routers/items.py`. E precisamos obter a função de dependência do módulo `app.dependencies`, o arquivo `app/dependencies.py`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 19.7K bytes - Click Count (0)