Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,232 for ctan (0.02 sec)

  1. docs/erasure/storage-class/README.md

    1. ## Overview
    2.  
    3. MinIO supports two storage classes, Reduced Redundancy class and Standard class. These classes can be defined using environment variables
    4. set before starting MinIO server. After the data and parity drives for each storage class are defined using environment variables,
    5. you can set the storage class of an object via request metadata field `x-amz-storage-class`. MinIO server then honors the storage class by
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-status-code.md

    1. # Response Status Code
    2.  
    3. The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*:
    4.  
    5. * `@app.get()`
    6. * `@app.post()`
    7. * `@app.put()`
    8. * `@app.delete()`
    9. * etc.
    10.  
    11. {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    12.  
    13. /// note
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    1. We are not restricted to having only one dependency that can return that type of data.
    2.  
    3. ///
    4.  
    5. ## Other models
    6.  
    7. You can now get the current user directly in the *path operation functions* and deal with the security mechanisms at the **Dependency Injection** level, using `Depends`.
    8.  
    9. And you can use any model or data for the security requirements (in this case, a Pydantic model `User`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. docs/en/docs/reference/exceptions.md

    1. These are the exceptions that you can raise to show errors to the client.
    2.  
    3. When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    4.  
    5. You can use:
    6.  
    7. * `HTTPException`
    8. * `WebSocketException`
    9.  
    10. These exceptions can be imported directly from `fastapi`:
    11.  
    12. ```python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-fields.md

    1. # Body - Fields
    2.  
    3. The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    4.  
    5. ## Import `Field`
    6.  
    7. First, you have to import it:
    8.  
    9. {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    10.  
    11.  
    12. /// warning
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-param-models.md

    1. ## Check the Docs
    2.  
    3. You can see the query parameters in the docs UI at `/docs`:
    4.  
    5. <div class="screenshot">
    6. <img src="/img/tutorial/query-param-models/image01.png">
    7. </div>
    8.  
    9. ## Forbid Extra Query Parameters
    10.  
    11. In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive.
    12.  
    13. You can use Pydantic's model configuration to `forbid` any `extra` fields:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/kms/IAM.md

    1. MinIO supports two ways of encrypting IAM and configuration data.
    2. You can either use KES - together with an external KMS - or, much simpler,
    3. set the env. variable `MINIO_KMS_SECRET_KEY` and start/restart the MinIO server. For more details about KES and how
    4. to set it up refer to our [KMS Guide](https://github.com/minio/minio/blob/master/docs/kms/README.md).
    5.  
    6. Instead of configuring an external KMS you can start with a single key by
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-directly.md

    1. But you can return a `JSONResponse` directly from your *path operations*.
    2.  
    3. It might be useful, for example, to return custom headers or cookies.
    4.  
    5. ## Return a `Response`
    6.  
    7. In fact, you can return any `Response` or any sub-class of it.
    8.  
    9. /// tip
    10.  
    11. `JSONResponse` itself is a sub-class of `Response`.
    12.  
    13. ///
    14.  
    15. And when you return a `Response`, **FastAPI** will pass it directly.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/graphql.md

    1. ///
    2.  
    3. ## Learn More
    4.  
    5. You can learn more about **GraphQL** in the <a href="https://graphql.org/" class="external-link" target="_blank">official GraphQL documentation</a>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    1. /// warning
    2.  
    3. This is a more or less advanced section. If you are just starting, you can skip it.
    4.  
    5. You don't necessarily need OAuth2 scopes, and you can handle authentication and authorization however you want.
    6.  
    7. But OAuth2 with scopes can be nicely integrated into your API (with OpenAPI) and your API docs.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top