Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 224 for nodejs (0.18 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    
    **FastAPI** は`response_model`でPydanticモデルを使用していて、データにエラーがあった場合、ログにエラーが表示されるようにこれを使用しています。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! tip
        Pydantic, ❔ ⚫️❔ 🏋️ 🌐 💽 🔬 &amp; 🛠️ FastAPI, ✔️ 🎁 🎭 🕐❔ 👆 ⚙️ `Optional` ⚖️ `Union[Something, None]` 🍵 🔢 💲, 👆 💪 ✍ 🌅 🔃 ⚫️ Pydantic 🩺 🔃 <a href="https://docs.pydantic.dev/latest/concepts/models/#required-optional-fields" class="external-link" target="_blank">✔ 📦 🏑</a>.
    
    ### ⚙️ Pydantic `Required` ↩️ ❕ (`...`)
    
    🚥 👆 💭 😬 ⚙️ `...`, 👆 💪 🗄 &amp; ⚙️ `Required` ⚪️➡️ Pydantic:
    
    ```Python hl_lines="2  8"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. fastapi/params.py

    import warnings
    from enum import Enum
    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi.openapi.models import Example
    from pydantic.fields import FieldInfo
    from typing_extensions import Annotated, deprecated
    
    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  4. fastapi/param_functions.py

    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi import params
    from fastapi._compat import Undefined
    from fastapi.openapi.models import Example
    from typing_extensions import Annotated, Doc, deprecated
    
    _Unset: Any = Undefined
    
    
    def Path(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. docs/es/docs/async.md

    Ese tipo de asincronía es lo que hizo popular a NodeJS (aunque NodeJS no es paralelo) y esa es la fortaleza de Go como lenguaje de programación.
    
    Y ese es el mismo nivel de rendimiento que obtienes con **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. docs/zh/docs/async.md

    你的服务器正在等待很多很多用户通过他们不太好的网络发送来的请求。
    
    然后再次等待 🕙 响应回来。
    
    这个"等待" 🕙 是以微秒为单位测量的,但总的来说,最后还是等待很久。
    
    这就是为什么使用异步对于 Web API 很有意义的原因 ⏸🔀⏯。
    
    这种异步机制正是 NodeJS 受到欢迎的原因(尽管 NodeJS 不是并行的),以及 Go 作为编程语言的优势所在。
    
    这与 **FastAPI** 的性能水平相同。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  7. docs/ru/docs/async.md

    Именно асинхронность сделала NodeJS таким популярным (несмотря на то, что он не параллельный),
    и в этом преимущество Go как языка программирования.
    
    И тот же уровень производительности даёт **FastAPI**.
    
    Поскольку можно использовать преимущества параллелизма и асинхронности вместе,
    вы получаете производительность лучше, чем у большинства протестированных NodeJS фреймворков
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 39.9K bytes
    - Viewed (0)
  8. docs/ko/docs/async.md

    비동기 웹 파이썬(ASGI)에 대한 주요 명세가 웹소켓을 지원하기 위해 Django에서 개발 되었음에도 그렇습니다.
    
    이러한 종류의 비동기성은 (NodeJS는 병렬적이지 않음에도) NodeJS가 사랑받는 이유이고, 프로그래밍 언어로서의 Go의 강점입니다.
    
    그리고 **FastAPI**를 사용함으로써 동일한 성능을 낼 수 있습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  9. docs/ja/docs/alternatives.md

    ### <a href="https://nestjs.com/" class="external-link" target="_blank">NestJS</a> (と<a href="https://angular.io/" class="external-link" target="_blank">Angular</a>)
    
    NestJSはAngularにインスパイアされたJavaScript (TypeScript) NodeJSフレームワークで、Pythonですらありません。
    
    Flask-apispecでできることと多少似たようなことを実現しています。
    
    Angular 2にインスピレーションを受けた、統合された依存性注入の仕組みを持っています。(私が知っている他の依存性注入の仕組みと同様に) 「injectable」を事前に登録しておく必要があるため、冗長性とコードの繰り返しが発生します。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 31.6K bytes
    - Viewed (0)
  10. docs/tr/docs/project-generation.md

    * Uvicorn ve Gunicorn ile **Production ready** Python web server'ı.
    * Python <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">**FastAPI**</a> backend:
        * **Hızlı**: **NodeJS** ve **Go** ile eşit, çok yüksek performans (Starlette ve Pydantic'e teşekkürler).
        * **Sezgisel**: Editor desteğı. <abbr title="auto-complete, IntelliSense gibi isimlerle de bilinir">Otomatik tamamlama</abbr>. Daha az debugging.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:55:41 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top