Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1681 - 1690 of 2,378 for name6 (0.04 seconds)

  1. tests/test_repeated_cookie_headers.py

    from fastapi import Depends, FastAPI, Response
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    def set_cookie(*, response: Response):
        response.set_cookie("cookie-name", "cookie-value")
        return {}
    
    
    def set_indirect_cookie(*, dep: str = Depends(set_cookie)):
        return dep
    
    
    @app.get("/directCookie")
    def get_direct_cookie(dep: str = Depends(set_cookie)):
        return {"dep": dep}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jun 13 12:44:51 GMT 2020
    - 792 bytes
    - Click Count (0)
  2. docs_src/body_multiple_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: 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: str | None = None,
        item: Item | None = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 579 bytes
    - Click Count (0)
  3. 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):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 805 bytes
    - Click Count (0)
  4. 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,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 610 bytes
    - Click Count (0)
  5. 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",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 737 bytes
    - Click Count (0)
  6. .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(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. 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 */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.collector;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactLinkedHashMap")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                charset = Constants.UTF_8;
            }
            final String name;
            final String url = responseData.getUrl();
            final int pos = url.lastIndexOf('/');
            try {
                if (pos >= 0 && pos + 1 < url.length()) {
                    name = URLDecoder.decode(url.substring(pos + 1), charset);
                } else {
                    name = URLDecoder.decode(url, charset);
                }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
Back to Top