Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 4,515 for fromP2 (0.07 seconds)

  1. docs_src/header_params/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: Annotated[
            Union[str, None], Header(convert_underscores=False)
        ] = None,
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 288 bytes
    - Click Count (0)
  2. tests/test_request_params/test_form/test_list.py

    from typing import Annotated
    
    import pytest
    from dirty_equals import IsOneOf, IsPartialDict
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/required-list-str", operation_id="required_list_str")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:31:34 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. docs/select/README.md

    ## Example using Python API
    
    ### 1. Prerequisites
    
    - Install MinIO Server from [here](https://docs.min.io/community/minio-object-store/operations/deployments/baremetal-deploy-minio-on-redhat-linux.html#procedure).
    - Familiarity with AWS S3 API.
    - Familiarity with Python and installing dependencies.
    
    ### 2. Install boto3
    
    Install `aws-sdk-python` from AWS SDK for Python official docs [here](https://aws.amazon.com/sdk-for-python/)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. docs_src/header_params/tutorial003_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Annotated[Union[list[str], None], Header()] = None):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 234 bytes
    - Click Count (0)
  5. docs/en/docs/index.md

    ## Example upgrade { #example-upgrade }
    
    Now modify the file `main.py` to receive a body from a `PUT` request.
    
    Declare the body using standard Python types, thanks to Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 25 11:01:37 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
     * <p>
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     * </p>
     * <p>
     * Fields can also be annotated with the {@link Resolution} annotation to be injected
     * with the dependency collection or resolution result for the project.
     * </p>
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 29 18:21:40 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import org.lastaflute.web.util.LaRequestUtil;
    
    /**
     * Helper class for detecting and categorizing user agent types from HTTP requests.
     * This class analyzes the User-Agent header to determine which browser type is being used
     * and caches the result in the request attribute for performance optimization.
     *
     */
    public class UserAgentHelper {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=[needs_py310]),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=[needs_py310]),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. docs/sts/dex.yaml

      # By default, Dex will ask for approval to share data with application
      # (approval for sharing data from connected IdP to Dex is separate process on IdP)
      skipApprovalScreen: false
      # If only one authentication method is enabled, the default behavior is to
      # go directly to it. For connected IdPs, this redirects the browser away
      # from application to upstream provider such as the Google login page
      alwaysShowLoginScreen: false
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  10. helm-releases/minio-2.0.1.tgz

    to add trust for Minio's own CA and for the CA of a Keycloak server, a Kubernetes secret can be created from the certificate files using `kubectl`: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=public.crt --from-file=keycloak.crt ``` If TLS is not enabled, you would need only the third party CA: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=keycloak.crt ``` The name of the generated secret can then be passed to Helm using a values file or...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
Back to Top