Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 387 for Lata (0.16 sec)

  1. docs/ja/docs/tutorial/extra-data-types.md

    ## 例
    
    ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。
    
    ```Python hl_lines="1 2 12-16"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます:
    
    ```Python hl_lines="18 19"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. tests/test_response_model_data_filter_no_inheritance.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

                assert data == "Session cookie or query token value is: some-token"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: bar"
                message = "Message two"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: some-token"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. tests/test_schema_extra_examples.py

            @app.post("/example/")
            def example(item: Item = Body(example={"data": "Data in Body example"})):
                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  5. tests/test_ws_router.py

        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, world!"
    
    
    def test_router():
        client = TestClient(app)
        with client.websocket_connect("/router") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router!"
    
    
    def test_prefix_router():
        client = TestClient(app)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

        item_data = response.json()
        assert item["title"] == item_data["title"]
        assert item["description"] == item_data["description"]
        assert "id" in item_data
        assert "owner_id" in item_data
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        user_data = response.json()
        item_to_check = [it for it in user_data["items"] if it["id"] == item_data["id"]][0]
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. tests/test_tuples.py

        assert response.status_code == 422, response.text
    
        data = {"items": [["foo", "bar"], ["baz"]]}
        response = client.post("/model-with-tuple/", json=data)
        assert response.status_code == 422, response.text
    
    
    def test_tuple_with_model_valid():
        data = [{"x": 1, "y": 2}, {"x": 3, "y": 4}]
        response = client.post("/tuple-of-models/", json=data)
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  8. docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py

        )
        assert response.status_code == 200, response.text
        data = response.json()
        assert data["email"] == "******@****.***"
        assert "id" in data
        user_id = data["id"]
    
        response = client.get(f"/users/{user_id}")
        assert response.status_code == 200, response.text
        data = response.json()
        assert data["email"] == "******@****.***"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_sql_databases.py

        item_data = response.json()
        assert item["title"] == item_data["title"]
        assert item["description"] == item_data["description"]
        assert "id" in item_data
        assert "owner_id" in item_data
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        user_data = response.json()
        item_to_check = [it for it in user_data["items"] if it["id"] == item_data["id"]][0]
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  10. .github/actions/notify-translations/app/main.py

            raise RuntimeError(response.text)
        data = response.json()
        if "errors" in data:
            logging.error(f"Errors in response, after: {after}, category_id: {category_id}")
            logging.error(response.text)
            raise RuntimeError(response.text)
        return cast(Dict[str, Any], data)
    
    
    def get_graphql_translation_discussions(*, settings: Settings):
        data = get_graphql_response(
            settings=settings,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
Back to top