Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 805 for fdef (0.02 sec)

  1. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5-10  16  21" title="app/routers/items.py"
    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    由于每个*路径操作*的路径都必须以 `/` 开头,例如:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...前缀不能以 `/` 作为结尾。
    
    因此,本例中的前缀为 `/items`。
    
    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. docs/de/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Die entsprechende *Pfadoperation* der FastAPI-API könnte wie folgt aussehen:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Sehen Sie sich die Ähnlichkeiten in `requests.get(...)` und `@app.get(...)` an.
    
    /// check | Inspirierte **FastAPI**
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertFailsWith<IOException> {
          sink2.writeUtf8("abc")
          sink2.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream was reset: REFUSED_STREAM")
        }
        sink1.writeUtf8("def")
        sink1.close()
        assertFailsWith<ConnectionShutdownException> {
          connection.newStream(headerEntries("c", "cola"), true)
        }
        assertThat(stream1.isOpen).isTrue()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    /// check | Inspired **FastAPI** to
    
    * Have a simple and intuitive API.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. docs/ko/docs/deployment/docker.md

    * 다음과 같은 `main.py`을 생성합니다:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 도커파일
    
    이제 같은 프로젝트 디렉터리에 다음과 같은 파일 `Dockerfile`을 생성합니다:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. docs/fr/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    En contrepartie l'API _des opérations de chemin_ de FastAPI pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Notez les similitudes entre `requests.get(...)` et `@app.get(...)`.
    
    /// check | A inspiré **FastAPI** à
    
    Avoir une API simple et intuitive.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/vnd.fdf">
        <acronym>FDF</acronym>
        <_comment>Forms Data Format</_comment>
        <tika:link>http://en.wikipedia.org/wiki/Forms_Data_Format</tika:link>
        <tika:link>http://www.adobe.com/devnet/acrobat/fdftoolkit.html</tika:link>
        <tika:uti>com.adobe.fdf</tika:uti>
        <magic priority="50">
          <match value="%FDF-" type="string" offset="0" />
        </magic>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  8. docs/ja/docs/deployment/docker.md

    * `main.py` ファイルを作成します:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    同じプロジェクト・ディレクトリに`Dockerfile`というファイルを作成します:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/vnd.etsi.simservs+xml",
    				"application/vnd.eudora.data",
    				"application/vnd.ezpix-album",
    				"application/vnd.ezpix-package",
    				"application/vnd.f-secure.mobile",
    				"application/vnd.fdf",
    				"application/vnd.fdsn.mseed",
    				"application/vnd.fdsn.seed",
    				"application/vnd.ffsns",
    				"application/vnd.fints",
    				"application/vnd.flographit",
    				"application/vnd.fluxtime.clip",
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 50.1K bytes
    - Viewed (0)
  10. docs/ja/docs/alternatives.md

    使い方はとても簡単です。例えば、`GET`リクエストを実行するには、このように書けば良いです:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    対応するFastAPIのパスオペレーションはこのようになります:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
     `requests.get(...)` と`@app.get(...)` には類似点が見受けられます。
    
    /// check | **FastAPI**へ与えたインスピレーション
    
    * シンプルで直感的なAPIを持っている点。
    * HTTPメソッド名を直接利用し、単純で直感的である。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top