Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 3,776 for nope (0.03 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tests/test_fastapi_cli.py

        )
        assert result.returncode == 1, result.stdout
        assert "Using path non_existent_file.py" in result.stdout
    
    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 02 06:03:05 UTC 2024
    - 790 bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Manipulador de exceções
    participant dep as Dep com yield
    participant operation as Operação de Rota
    participant tasks as Tarefas de Background
    
        Note over client,operation: pode lançar exceções, incluindo HTTPException
        client ->> dep: Iniciar requisição
        Note over dep: Executar código até o yield
        opt lançar Exceção
            dep -->> handler: lançar Exceção
            handler -->> client: resposta de erro HTTP
        end
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/okhttp3/internal/publicsuffix/NOTICE

    Note that PublicSuffixDatabase.gz is compiled from The Public Suffix List:
    https://publicsuffix.org/list/public_suffix_list.dat
    
    It is subject to the terms of the Mozilla Public License, v. 2.0:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 224 bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/middleware.md

    * 미들웨어는 응용 프로그램으로 오는 **요청**를 가져옵니다.
    * **요청** 또는 다른 필요한 코드를 실행 시킬 수 있습니다.
    * **요청**을 응용 프로그램의 *경로 작동*으로 전달하여 처리합니다.
    * 애플리케이션의 *경로 작업*에서 생성한 **응답**를 받습니다.
    * **응답** 또는 다른 필요한 코드를 실행시키는 동작을 할 수 있습니다.
    * **응답**를 반환합니다.
    
    /// note | "기술 세부사항"
    
    만약 `yield`를 사용한 의존성을 가지고 있다면, 미들웨어가 실행되고 난 후에 exit이 실행됩니다.
    
    만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다.
    
    ///
    
    ## 미들웨어 만들기
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. tests/test_sub_callbacks.py

    from fastapi import APIRouter, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Invoice(BaseModel):
        id: str
        title: Optional[str] = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/conf/toolchains.xml

     |
     |  1. User Level. This toolchains.xml file provides configuration for a single user,
     |                 and is normally provided in ${user.home}/.m2/toolchains.xml.
     |
     |                 NOTE: This location can be overridden with the CLI option:
     |
     |                 -t /path/to/user/toolchains.xml
     |
     |  2. Installation Level.
     |                 This toolchains.xml file provides configuration for all Maven
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "price": 42,
            "description": None,
            "tax": None,
            "tags": [],
        }
    
    
    @needs_pydanticv2
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "files"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "files"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. scripts/playwright/separate_openapi_schemas/image03.py

    import subprocess
    
    from playwright.sync_api import Playwright, sync_playwright
    
    
    # Run playwright codegen to generate the code below, copy paste the sections in run()
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top