Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 2,935 for Sample (0.31 seconds)

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py

    from docs_src.behind_a_proxy.tutorial001_01_py310 import app
    
    client = TestClient(
        app,
        base_url="https://example.com",
        follow_redirects=False,
    )
    
    
    def test_redirect() -> None:
        response = client.get("/items")
        assert response.status_code == 307
        assert response.headers["location"] == "https://example.com/items/"
    
    
    def test_no_redirect() -> None:
        response = client.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 545 bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body-multiple-params.md

    /// note
    
    Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value.
    
    ///
    
    ## Multiple body parameters { #multiple-body-parameters }
    
    In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. architecture/README.md

    that can send requests to a Gradle daemon.
    Each daemon runs one request at a time. Generally speaking, the daemons only act in response to a request from a client and do not take any action on their own.
    There are some background actions that the daemon takes, for example monitoring system memory, watching for file changes or cleaning up caches.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * if there are any Rest YAML tests present in source, or copied from {@link CopyRestTestsTask} output. X-pack specs must be explicitly
     * declared to be copied.
     * <br>
     * <i>For example:</i>
     * <pre>
     * restResources {
     *   restApi {
     *     includeXpack 'enrich'
     *   }
     * }
     * </pre>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  5. docs_src/schema_extra_example/tutorial005_py310.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  6. docs/ja/docs/index.md

    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
    
    ### 代替 API ドキュメント { #alternative-api-docs }
    
    次に、[http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) にアクセスします。
    
    代替の自動ドキュメントが表示されます([ReDoc](https://github.com/Rebilly/ReDoc) が提供しています)。
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## アップグレード例 { #example-upgrade }
    
    次に、`PUT` リクエストからボディを受け取るために `main.py` ファイルを修正しましょう。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. fastapi/security/open_id_connect_url.py

        dependency.
    
        **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
        but it doesn't implement the full OpenIdConnect scheme, for example, it doesn't use
        the OpenIDConnect URL. You would need to subclass it and implement it in your
        code.
        """
    
        def __init__(
            self,
            *,
            openIdConnectUrl: Annotated[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        id: package-path
        attributes:
          label: "What is the path of the package that you would like to have removed?"
          description: |
            We can remove packages with a shared path prefix.
            For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
        validations:
          required: true
      - type: textarea
        id: package-owner
        attributes:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. dbflute.xml

    	<property name="target.dir" value="${basedir}/target" />
    	<property name="branch.name" value="fess-15.5" />
    	<property name="mydbflute.url" value="https://github.com/lastaflute/lastaflute-example-waterfront/archive/${branch.name}.zip" />
    
    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    			<available file="${mydbflute.dir}" type="dir" />
    		</condition>
    	</target>
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 999 bytes
    - Click Count (0)
  10. cmd/testdata/config/invalid-disks.yaml

    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk1/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 863 bytes
    - Click Count (0)
Back to Top