Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for nola (0.06 sec)

  1. fastapi/concurrency.py

    import anyio
    from anyio import CapacityLimiter
    from starlette.concurrency import iterate_in_threadpool as iterate_in_threadpool  # noqa
    from starlette.concurrency import run_in_threadpool as run_in_threadpool  # noqa
    from starlette.concurrency import (  # noqa
        run_until_first_complete as run_until_first_complete,
    )
    
    _T = TypeVar("_T")
    
    
    @asynccontextmanager
    async def contextmanager_in_threadpool(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Dec 25 17:57:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. fastapi/datastructures.py

    )
    from starlette.datastructures import URL as URL  # noqa: F401
    from starlette.datastructures import Address as Address  # noqa: F401
    from starlette.datastructures import FormData as FormData  # noqa: F401
    from starlette.datastructures import Headers as Headers  # noqa: F401
    from starlette.datastructures import QueryParams as QueryParams  # noqa: F401
    from starlette.datastructures import State as State  # noqa: F401
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_custom_route_class.py

        for r in app.router.routes:
            assert isinstance(r, Route)
            routes[r.path] = r
        assert getattr(routes["/a/"], "x_type") == "A"  # noqa: B009
        assert getattr(routes["/a/b/"], "x_type") == "B"  # noqa: B009
        assert getattr(routes["/a/b/c/"], "x_type") == "C"  # noqa: B009
    
    
    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: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. fastapi/_compat.py

        from pydantic import AnyUrl as Url  # noqa: F401
        from pydantic import (  # type: ignore[assignment]
            BaseConfig as BaseConfig,  # noqa: F401
        )
        from pydantic import ValidationError as ValidationError  # noqa: F401
        from pydantic.class_validators import (  # type: ignore[no-redef]
            Validator as Validator,  # noqa: F401
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. fastapi/requests.py

    from starlette.requests import HTTPConnection as HTTPConnection  # noqa: F401
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 20:17:08 UTC 2020
    - 142 bytes
    - Viewed (0)
  6. fastapi/responses.py

    from starlette.responses import FileResponse as FileResponse  # noqa
    from starlette.responses import HTMLResponse as HTMLResponse  # noqa
    from starlette.responses import JSONResponse as JSONResponse  # noqa
    from starlette.responses import PlainTextResponse as PlainTextResponse  # noqa
    from starlette.responses import RedirectResponse as RedirectResponse  # noqa
    from starlette.responses import Response as Response  # noqa
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/static-files.md

    # Statik Dosyalar
    
    `StaticFiles`'ı kullanarak statik dosyaları bir yol altında sunabilirsiniz.
    
    ## `StaticFiles` Kullanımı
    
    * `StaticFiles` sınıfını projenize dahil edin.
    * Bir `StaticFiles()` örneğini belirli bir yola bağlayın.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "Teknik Detaylar"
    
    Projenize dahil etmek için `from starlette.staticfiles import StaticFiles` kullanabilirsiniz.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | "Nota"
    
    Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
    
    O FastAPI sabe disso e produzirá documentos OpenAPI informando que não há corpo de resposta.
    
    ///
    
    ## Sobre os códigos de status HTTP
    
    /// note | "Nota"
    
    Se você já sabe o que são códigos de status HTTP, pule para a próxima seção.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. fastapi/testclient.py

    from starlette.testclient import TestClient as TestClient  # noqa...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 66 bytes
    - Viewed (0)
  10. fastapi/middleware/gzip.py

    from starlette.middleware.gzip import GZipMiddleware as GZipMiddleware  # noqa...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 79 bytes
    - Viewed (0)
Back to top