Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 944 for fooo (0.02 sec)

  1. tests/test_tutorial/test_extra_models/test_tutorial005.py

    client = TestClient(app)
    
    
    def test_get_items():
        response = client.get("/keyword-weights/")
        assert response.status_code == 200, response.text
        assert response.json() == {"foo": 2.3, "bar": 3.4}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial001.py

        price: float
        tax: Union[float, None] = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 684 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        builder.put("foo", 2);
        assertMapEquals(builder.buildOrThrow(), "foo", 2);
      }
    
      public void testBuilderPutImmutableEntryWithNullKeyFailsAtomically() {
        Builder<String, Integer> builder = new Builder<>();
        assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1)));
        builder.put("foo", 2);
        assertMapEquals(builder.buildOrThrow(), "foo", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/header-params.md

    ```Python hl_lines="9"
    {!../../docs_src/header_params/tutorial003.py!}
    ```
    
    다음과 같은 두 개의 HTTP 헤더를 전송하여 해당 *경로* 와 통신할 경우:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    응답은 다음과 같습니다:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 요약
    
    `Header`는 `Query`, `Path`, `Cookie`와 동일한 패턴을 사용하여 선언합니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/group/admin_group.jsp

                    </div>
                </div>
            </section>
        </div>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/role/admin_role.jsp

                    </div>
                </div>
            </section>
        </div>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_pv1.py

        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 669 bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial003_an_py39.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ],
            ),
        ],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 692 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

              @Override
              protected String serviceName() {
                return "Foo";
              }
            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/header-params.md

    ```
    
    ////
    
    Если вы взаимодействуете с этой *операцией пути*, отправляя два HTTP-заголовка, таких как:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Ответ был бы таким:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Резюме
    
    Объявляйте заголовки с помощью `Header`, используя тот же общий шаблон, как при `Query`, `Path` и `Cookie`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top