Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 159 for apps (0.19 sec)

  1. docs/ja/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    ## **FastAPI** compatibility
    
    The simplicity of the dependency injection system makes **FastAPI** compatible with:
    
    * all the relational databases
    * NoSQL databases
    * external packages
    * external APIs
    * authentication and authorization systems
    * API usage monitoring systems
    * response data injection systems
    * etc.
    
    ## Simple and Powerful
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/settings.md

    Als Nächstes würden Sie den Server ausführen und die Konfigurationen als Umgebungsvariablen übergeben. Sie könnten beispielsweise `ADMIN_EMAIL` und `APP_NAME` festlegen mit:
    
    <div class="termy">
    
    ```console
    $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/generate-clients.md

    }
    ```
    
    Nachdem Sie das NPM-Skript `generate-client` dort stehen haben, können Sie es ausführen mit:
    
    <div class="termy">
    
    ```console
    $ npm run generate-client
    
    frontend-app@1.0.0 generate-client /home/user/code/frontend-app
    > openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. docs/tr/docs/async.md

    ```Python
    results = await some_library()
    ```
    
    O zaman *path operasyon fonksiyonunu* `async def` ile tanımlayın örneğin:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    !!! note "Not"
        Sadece `async def` ile tanımlanan fonksiyonlar içinde `await` kullanabilirsiniz.
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  6. docs/en/docs/img/deployment/https/https08.drawio

                        <mxGeometry x="895" y="650" width="300" height="100" as="geometry"/>...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 20.9K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/offline-mode.apt

      offline mode, and then test to see if the file-based basedir for an artifact
      repository works...if it doesn't work, we can mark that repository offline...
    
      OTOH, all offline-mode checks can probably be run from Wagon-based APIs.
    
    ** Maven-SCM
    
      In all but trivial examples, SCM operations cannot complete without
      having access to the versioning server. Therefore, it is assumed that
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      /** Returns true if this cookie should be limited to only HTTPS requests. */
      @get:JvmName("secure") val secure: Boolean,
      /**
       * Returns true if this cookie should be limited to only HTTP APIs. In web browsers this prevents
       * the cookie from being accessible to scripts.
       */
      @get:JvmName("httpOnly") val httpOnly: Boolean,
      /**
       * Returns true if this cookie does not expire at the end of the current session.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/dependencies/index.md

        ```Python hl_lines="8-11"
        {!> ../../../docs_src/dependencies/tutorial001.py!}
        ```
    
    이게 다입니다.
    
    **단 두 줄입니다**.
    
    그리고, 이 함수는 여러분의 모든 *경로 작동 함수*가 가지고 있는 것과 같은 형태와 구조를 가지고 있습니다.
    
    여러분은 이를 "데코레이터"가 없는 (`@app.get("/some-path")`가 없는) *경로 작동 함수*라고 생각할 수 있습니다.
    
    그리고 여러분이 원하는 무엇이든 반환할 수 있습니다.
    
    이 경우, 이 의존성은 다음과 같은 경우를 기대합니다:
    
    * 선택적인 쿼리 매개변수 `q`, `str`을 자료형으로 가집니다.
    * 선택적인 쿼리 매개변수 `skip`, `int`를 자료형으로 가지며 기본 값은 `0`입니다.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment.md

    RUN pip install fastapi uvicorn
    
    EXPOSE 80
    
    COPY ./app /app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    ### Crie o código **FastAPI**
    
    * Crie um diretório `app` e entre nele.
    * Crie um arquivo `main.py` com:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 18 16:16:54 GMT 2022
    - 16.8K bytes
    - Viewed (0)
Back to top