Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Rome (0.01 sec)

  1. scripts/translate.py

            ```
            »»»
    
        Source (English) – The code block is a console example containing 5 comments:
    
            «««
            ```console
            // Go to the home directory
            $ cd
            // Create a directory for all your code projects
            $ mkdir code
            // Enter into that code directory
            $ cd code
            // Create a directory for this project
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial002.py

        response = client.post(
            "/items/",
            json={"name": "Foo", "price": price, "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": 0.3,
            "price_with_tax": 50.8,
        }
    
    
    @pytest.mark.parametrize("price", ["50.5", 50.5])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial001.py

        response = client.post(
            "/items/", json={"name": "Foo", "price": "50.5", "description": "Some Foo"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": None,
        }
    
    
    def test_post_with_str_float_description_tax(client: TestClient):
        response = client.post(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body/test_tutorial004.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
            params={"q": "somequery"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
            "q": "somequery",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_fields/test_tutorial001.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                    "price": 50.5,
                    "description": "Some Foo",
                    "tax": 0.1,
                },
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {
                "name": "Foo",
                "price": 50.5,
                "description": "Some Foo",
                "tax": 0.1,
            },
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body/test_tutorial003.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
        }
    
    
    def test_put_only_required(client: TestClient):
        response = client.put(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. docs/en/docs/index.md

    ## Opinions { #opinions }
    
    "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/graphql.md

    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓
    
    ///
    
    ## GraphQL Libraries { #graphql-libraries }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

    def get_client(mod_name: str) -> TestClient:
        mod = importlib.import_module(f"docs_src.custom_response.{mod_name}")
        return TestClient(mod.app)
    
    
    html_contents = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    
    
    def test_get_custom_response(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top