Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,897 for director (0.21 sec)

  1. docs/en/docs/advanced/using-request-directly.md

    But there are specific cases where it's useful to get the `Request` object.
    
    ## Use the `Request` object directly
    
    Let's imagine you want to get the client's IP address/host inside of your *path operation function*.
    
    For that you need to access the request directly.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/response-directly.md

    In diesen Fällen können Sie den `jsonable_encoder` verwenden, um Ihre Daten zu konvertieren, bevor Sie sie an eine Response übergeben:
    
    ```Python hl_lines="6-7  21-22"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "Technische Details"
        Sie können auch `from starlette.responses import JSONResponse` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:36 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-directly.md

    Para esos casos, puedes usar el `jsonable_encoder` para convertir tus datos antes de pasarlos a la respuesta:
    
    ```Python hl_lines="4 6 20 21"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "Detalles Técnicos"
        También puedes usar `from starlette.responses import JSONResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/response-directly.md

    例如,如果不首先将 Pydantic 模型转换为 `dict`,并将所有数据类型(如 `datetime`、`UUID` 等)转换为兼容 JSON 的类型,则不能将其放入JSONResponse中。
    
    对于这些情况,在将数据传递给响应之前,你可以使用 `jsonable_encoder` 来转换你的数据。
    
    
    ```Python hl_lines="4 6 20 21"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "技术细节"
        你也可以使用 `from starlette.responses import JSONResponse`。
    
        出于方便,**FastAPI** 会提供与 `starlette.responses` 相同的 `fastapi.responses` 给开发者。但是大多数可用的响应都直接来自 Starlette。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  5. docs/ja/docs/advanced/response-directly.md

    例えば、Pydanticモデルを `JSONResponse` に含めるには、すべてのデータ型 (`datetime` や `UUID` など) をJSON互換の型に変換された `dict` に変換しなければなりません。
    
    このようなケースでは、レスポンスにデータを含める前に `jsonable_encoder` を使ってデータを変換できます。
    
    ```Python hl_lines="6-7  21-22"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "技術詳細"
        また、`from starlette.responses import JSONResponse` も利用できます。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Nov 05 22:50:38 GMT 2020
    - 3.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/projects/base-directory-alignment/project-which-needs-directory-alignment.xml

        <resources>
          <resource>
            <directory>src/test</directory>
            <includes>
              <include>**/*.xml</include>
            </includes>
          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>src/conf</directory>
            <includes>
              <include>*.xsd</include>
              <include>*.dtd</include>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/projects/base-directory-alignment/subproject/project-which-needs-directory-alignment-child.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
    
      <extend>../project-which-needs-directory-alignment.xml</extend>
    
      <parent>
        <groupId>maven</groupId>
        <artifactId>project-which-needs-directory-alignment</artifactId>
        <version>1.0-beta-9</version>
      </parent>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 1011 bytes
    - Viewed (0)
  8. maven-core/src/test/resources/projects/base-directory-alignment/project-which-needs-directory-alignment-child.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
    
      <extend>project-which-needs-directory-alignment.xml</extend>
    
      <parent>
        <groupId>maven</groupId>
        <artifactId>project-which-needs-directory-alignment.xml</artifactId>
        <version>1.0-beta-9</version>
      </parent>
    
      <groupId>maven</groupId>
      <artifactId>maven-foo</artifactId>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Network.java

       */
      Graph<N> asGraph();
    
      //
      // Network properties
      //
    
      /**
       * Returns true if the edges in this network are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/using-request-directly.md

    Angenommen, Sie möchten auf die IP-Adresse/den Host des Clients in Ihrer *Pfadoperation-Funktion* zugreifen.
    
    Dazu müssen Sie direkt auf den Request zugreifen.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Durch die Deklaration eines *Pfadoperation-Funktionsparameters*, dessen Typ der `Request` ist, weiß **FastAPI**, dass es den `Request` diesem Parameter übergeben soll.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:18:32 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top