Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2751 - 2760 of 4,044 for _name (0.03 sec)

  1. docs_src/body_multiple_params/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 674 bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/privileged.yml

    name: Privileged
    description: You are @tiangolo or he asked you directly to create an issue here. If not, check the other options. 👇
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for your interest in FastAPI! 🚀
    
            If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/fastapi/fastapi/discussions/categories/questions) instead.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 888 bytes
    - Viewed (1)
  3. tests/test_tutorial/test_response_directly/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_directly.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_path_operation(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py

    import importlib
    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009_py39"),
            pytest.param("tutorial009_py310", marks=needs_py310),
            pytest.param("tutorial009b_py39"),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 805 bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: Union[str, None] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 610 bytes
    - Viewed (0)
  6. docs_src/extending_openapi/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.openapi.utils import get_openapi
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"name": "Foo"}]
    
    
    def custom_openapi():
        if app.openapi_schema:
            return app.openapi_schema
        openapi_schema = get_openapi(
            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 737 bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/SanityCheck.kt

    import model.CIBuildModel
    import model.Stage
    
    class SanityCheck(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Sanity Check"
            description = "Static code analysis, checkstyle, release notes verification, etc."
    
            features {
                publishBuildStatusToGithub(model)
            }
    
            applyDefaults(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. cmd/bucket-handlers_test.go

    		// object used for the test.
    		objectNames = append(objectNames, objectName)
    	}
    
    	contentBytes := []byte("hello")
    	for _, name := range []string{"private/object", "public/object"} {
    		// Uploading the object with retention enabled
    		_, err = obj.PutObject(GlobalContext, bucketName, name, mustGetPutObjReader(t, bytes.NewReader(contentBytes), int64(len(contentBytes)), "", sha256sum), ObjectOptions{})
    		// if object upload fails stop the test.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java

        private int pageSize;
    
        /** Current page number */
        private int currentPageNumber;
    
        /** Configuration ID */
        public String id;
    
        /** Configuration name */
        public String name;
    
        /** File system paths to crawl */
        public String paths;
    
        /** Number of threads for crawling */
        public String numOfThread;
    
        /** Interval time between crawling operations */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. .zenodo.json

        "license": "Apache-2.0",
        "title": "TensorFlow",
        "upload_type": "software",
        "creators": [
            {
                "name": "TensorFlow Developers"
            }
        ],
        "access_right": "open",
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue May 18 19:19:25 UTC 2021
    - 741 bytes
    - Viewed (0)
Back to top