Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,241 for Rome (0.01 sec)

  1. docs_src/custom_response/tutorial007_py39.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    app = FastAPI()
    
    
    async def fake_video_streamer():
        for i in range(10):
            yield b"some fake video bytes"
    
    
    @app.get("/")
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 277 bytes
    - Viewed (0)
  2. cmd/os-reliable.go

    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial002_py39.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=HTMLResponse)
    async def read_items():
        return """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 352 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-param-models.md

    ## Forbid Extra Query Parameters { #forbid-extra-query-parameters }
    
    In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body/test_tutorial003.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
        }
    
    
    def test_put_only_required(client: TestClient):
        response = client.put(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. docs_src/response_cookies/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.post("/cookie/")
    def create_cookie():
        content = {"message": "Come to the dark side, we have cookies"}
        response = JSONResponse(content=content)
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 344 bytes
    - Viewed (0)
  7. docs_src/custom_response/tutorial003_py39.py

    from fastapi import FastAPI
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 394 bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial004_py39.py hl[6] *}
    
    /// tip | Подсказка
    
    Возможно, вам понадобится, чтобы параметр содержал `/home/johndoe/myfile.txt` с ведущим слэшем (`/`).
    
    В этом случае URL будет таким: `/files//home/johndoe/myfile.txt`, с двойным слэшем (`//`) между `files` и `home`.
    
    ///
    
    ## Резюме { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. helm/minio/Chart.yaml

    apiVersion: v1
    description: High Performance Object Storage
    name: minio
    version: 5.4.0
    appVersion: RELEASE.2024-12-18T13-15-44Z
    keywords:
      - minio
      - storage
      - object-storage
      - s3
      - cluster
    home: https://min.io
    icon: https://min.io/resources/img/logo/MINIO_wordmark.png
    sources:
    - https://github.com/minio/minio
    maintainers:
    - name: MinIO, Inc
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jan 03 05:34:47 UTC 2025
    - 374 bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works
     * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top