Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 552 for Hodges (0.21 sec)

  1. docs/en/docs/advanced/additional-status-codes.md

    # Additional Status Codes
    
    By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`.
    
    It will use the default status code or the one you set in your *path operation*.
    
    ## Additional status codes
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      @Test
      public void nodes_oneNode() {
        addNode(N1);
        assertThat(network.nodes()).containsExactly(N1);
      }
    
      @Test
      public void nodes_noNodes() {
        assertThat(network.nodes()).isEmpty();
      }
    
      @Test
      public void edges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactly(E12);
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      @Test
      public void nodes_oneNode() {
        addNode(N1);
        assertThat(network.nodes()).containsExactly(N1);
      }
    
      @Test
      public void nodes_noNodes() {
        assertThat(network.nodes()).isEmpty();
      }
    
      @Test
      public void edges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactly(E12);
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            List<MetadataGraphEdge> edges = getIncidentEdges(vTo);
            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
                if (e.getSource().equals(vFrom)) {
                    res.add(e);
                }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/additional-status-codes.md

    # Codes HTTP supplémentaires
    
    Par défaut, **FastAPI** renverra les réponses à l'aide d'une structure de données `JSONResponse`, en plaçant la réponse de votre  *chemin d'accès* à l'intérieur de cette `JSONResponse`.
    
    Il utilisera le code HTTP par défaut ou celui que vous avez défini dans votre *chemin d'accès*.
    
    ## Codes HTTP supplémentaires
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/additional-status-codes.md

        ```Python hl_lines="4  25"
        {!> ../../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  25"
        {!> ../../../docs_src/additional_status_codes/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  26"
        {!> ../../../docs_src/additional_status_codes/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:04:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/additional-status-codes.md

    🏆 👈, 🗄 `JSONResponse`, &amp; 📨 👆 🎚 📤 🔗, ⚒ `status_code` 👈 👆 💚:
    
    ```Python hl_lines="4  25"
    {!../../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    !!! warning
        🕐❔ 👆 📨 `Response` 🔗, 💖 🖼 🔛, ⚫️ 🔜 📨 🔗.
    
        ⚫️ 🏆 🚫 🎻 ⏮️ 🏷, ♒️.
    
        ⚒ 💭 ⚫️ ✔️ 📊 👆 💚 ⚫️ ✔️, &amp; 👈 💲 ☑ 🎻 (🚥 👆 ⚙️ `JSONResponse`).
    
    !!! note "📡 ℹ"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/additional-status-codes.md

    但是你也希望它能够接受新的条目。并且当这些条目不存在时,会自动创建并返回 201 「创建」的 HTTP 状态码。
    
    要实现它,导入 `JSONResponse`,然后在其中直接返回你的内容,并将 `status_code` 设置为为你要的值。
    
    ```Python hl_lines="4  25"
    {!../../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    !!! warning "警告"
        当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
        FastAPI 不会用模型等对该响应进行序列化。
    
        确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    !!! note "技术细节"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  9. .github/actions/people/app/main.py

        return discussion_experts_results
    
    
    def get_pr_nodes(settings: Settings) -> List[PullRequestNode]:
        pr_nodes: List[PullRequestNode] = []
        pr_edges = get_graphql_pr_edges(settings=settings)
    
        while pr_edges:
            for edge in pr_edges:
                pr_nodes.append(edge.node)
            last_edge = pr_edges[-1]
            pr_edges = get_graphql_pr_edges(settings=settings, after=last_edge.cursor)
        return pr_nodes
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractNetworkTest.validateNetwork(network);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top