Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for myself (0.14 sec)

  1. docs/en/docs/advanced/openapi-callbacks.md

    That documentation will show up in the Swagger UI at `/docs` in your API, and it will let external developers know how to build the *external API*.
    
    This example doesn't implement the callback itself (that could be just a line of code), only the documentation part.
    
    !!! tip
        The actual callback is just an HTTP request.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/en/docs/fastapi-cli.md

    By default it will listen on the IP address `127.0.0.1`, which is the IP for your machine to communicate with itself alone (`localhost`).
    
    ## `fastapi run`
    
    When you run `fastapi run`, it will run on production mode by default.
    
    It will have **auto-reload disabled** by default.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    something(some_argument, some_keyword_argument="foo")
    ```
    
    これを「呼び出し可能」なものと呼びます。
    
    ## 依存関係としてのクラス
    
    Pythonのクラスのインスタンスを作成する際に、同じ構文を使用していることに気づくかもしれません。
    
    例えば:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    この場合、`fluffy`は`Cat`クラスのインスタンスです。
    
    そして`fluffy`を作成するために、`Cat`を「呼び出している」ことになります。
    
    そのため、Pythonのクラスもまた「呼び出し可能」です。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/features.md

    * Automatic data model documentation with <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (as OpenAPI itself is based on JSON Schema).
    * Designed around these standards, after a meticulous study. Instead of an afterthought layer on top.
    * This also allows using automatic **client code generation** in many languages.
    
    ### Automatic docs
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden.
    
    Zum Beispiel:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`.
    
    Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    And it will be annotated / documented accordingly too.
    
    ## Nested Models
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations.
    
    All that, arbitrarily nested.
    
    ### Define a submodel
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/zh/docs/deployment/docker.md

    还有许多其他镜像用于不同的需要(例如数据库),例如:
    
    
    * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a>
    * <a href="https://hub.docker.com/_/mysql" class="external-link" target="_blank">MySQL</a>
    * <a href="https://hub.docker.com/_/mongo" class="external-link" target="_blank">MongoDB</a>
    * <a href="https://hub.docker.com/_/redis" class="external-link" target="_blank">Redis</a>, etc.
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  8. docs/de/docs/alternatives.md

    Es ist das beliebteste Python-Framework und genießt großes Vertrauen. Es wird zum Aufbau von Systemen wie Instagram verwendet.
    
    Ist relativ eng mit relationalen Datenbanken (wie MySQL oder PostgreSQL) gekoppelt, daher ist es nicht sehr einfach, eine NoSQL-Datenbank (wie Couchbase, MongoDB, Cassandra, usw.) als Hauptspeicherengine zu verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  9. fastapi/concurrency.py

    async def contextmanager_in_threadpool(
        cm: ContextManager[_T],
    ) -> AsyncGenerator[_T, None]:
        # blocking __exit__ from running waiting on a free thread
        # can create race conditions/deadlocks if the context manager itself
        # has its own internal pool (e.g. a database connection pool)
        # to avoid this we let __exit__ run without a capacity limit
        # since we're creating a new limiter for each call, any non-zero limit
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Dec 25 17:57:35 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. fastapi/applications.py

                ),
            ],
        ) -> None:
            self.debug = debug
            self.title = title
            self.summary = summary
            self.description = description
            self.version = version
            self.terms_of_service = terms_of_service
            self.contact = contact
            self.license_info = license_info
            self.openapi_url = openapi_url
            self.openapi_tags = openapi_tags
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top