Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,086 for itens (0.02 sec)

  1. tests/test_tutorial/test_metadata/test_tutorial002.py

            "openapi": "3.1.0",
            "info": {
                "title": "FastAPI",
                "version": "0.1.0",
            },
            "paths": {
                "/items/": {
                    "get": {
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                        "responses": {
                            "200": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            assertTrue(response.getTotal() > 0);
        }
    
        @Test
        public void test_addLanguage() throws Exception {
            SuggestItem[] items = new SuggestItem[1];
            String[][] readings = new String[1][];
            readings[0] = new String[] { "test" };
            items[0] = new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 0, 15, -1, new String[] { "tag1" },
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. tests/test_additional_response_extra.py

    app = FastAPI()
    
    
    @sub_router.get("/")
    def read_item():
        return {"id": "foo"}
    
    
    router.include_router(sub_router, prefix="/items")
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo"}
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs_src/metadata/tutorial001_py39.py

    from fastapi import FastAPI
    
    description = """
    ChimichangApp API helps you do awesome stuff. 🚀
    
    ## Items
    
    You can **read items**.
    
    ## Users
    
    You will be able to:
    
    * **Create users** (_not implemented_).
    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 805 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

        client = TestClient(mod.app)
        return client
    
    
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial002.py

        client = TestClient(mod.app)
        return client
    
    
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. tests/benchmarks/test_general_performance.py

    }
    
    LARGE_PAYLOAD: dict[str, Any] = {"items": LARGE_ITEMS, "metadata": LARGE_METADATA}
    
    
    def dep_a():
        return 40
    
    
    def dep_b(a: Annotated[int, Depends(dep_a)]):
        return a + 2
    
    
    class ItemIn(BaseModel):
        name: str
        value: int
    
    
    class ItemOut(BaseModel):
        name: str
        value: int
        dep: int
    
    
    class LargeIn(BaseModel):
        items: list[dict[str, Any]]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

        client = TestClient(mod.app)
        return client
    
    
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. tests/test_serialize_response_dataclass.py

        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @return a list of suggest items parsed from the query log
         */
        List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName,
                ReadingConverter readingConverter, Normalizer normalizer);
    
        /**
         * Parses a document and extracts suggest items based on the provided fields and converters.
         *
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top