Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 712 for code (0.02 sec)

  1. docs/de/docs/tutorial/response-status-code.md

    Sie können die Hilfsvariablen von `fastapi.status` verwenden.
    
    {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *}
    
    Diese sind nur eine Annehmlichkeit und enthalten dieselbe Nummer, aber auf diese Weise können Sie die Autovervollständigung Ihres Editors verwenden, um sie zu finden:
    
    <img src="/img/tutorial/response-status-code/image02.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-status-code.md

    /// tip
    
    To know more about each status code and which code is for what, check the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> documentation about HTTP status codes</a>.
    
    ///
    
    ## Shortcut to remember the names
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/response-change-status-code.md

    # 응답 - 상태 코드 변경
    
    기본 [응답 상태 코드 설정](../tutorial/response-status-code.md){.internal-link target=_blank}이 가능하다는 걸 이미 알고 계실 겁니다.
    
    하지만 경우에 따라 기본 설정과 다른 상태 코드를 반환해야 할 때가 있습니다.
    
    ## 사용 예
    
    예를 들어 기본적으로 HTTP 상태 코드 "OK" `200`을 반환하고 싶다고 가정해 봅시다.
    
    하지만 데이터가 존재하지 않으면 이를 새로 생성하고, HTTP 상태 코드 "CREATED" `201`을 반환하고자 할 때가 있을 수 있습니다.
    
    이때도 여전히 `response_model`을 사용하여 반환하는 데이터를 필터링하고 변환하고 싶을 수 있습니다.
    
    이런 경우에는 `Response` 파라미터를 사용할 수 있습니다.
    
    ## `Response` 파라미터 사용하기
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:01:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:12:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/metadata.md

    ipo</th><th>Descrição</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>str</code></td><td>O nome identificador da pessoa/organização de contato.</td></tr><tr><td><code>url</code></td><td><code>str</code></td><td>A URL que aponta para as informações de contato. DEVE estar no formato de uma URL.</td></tr><tr><td><code>email</code></td><td><code>str</code></td><td>O endereço de e-mail da pessoa/organização de contato. DEVE estar no formato de um endereço de e-mail.</td></tr></tbody></table></details>...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * executions.
         *
         * @return {@code true} if plugins should be processed, {@code false} otherwise.
         */
        boolean isProcessPlugins();
    
        /**
         * Controls the processing of plugin executions and configurations.
         *
         * @param processPlugins {@code true} to enable plugin processing, {@code false} otherwise.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}.
       */
      ALLOWS_NULL_VALUE_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * entrySet().contains(null)} or {@code entrySet().remove(null)}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

        }
    
        /**
         * Construct a new <code>MojoFailureException</code> exception providing a message.
         *
         * @param message
         */
        public MojoFailureException(String message) {
            super(message);
        }
    
        /**
         * Construct a new <code>MojoFailureException</code> exception wrapping an underlying <code>Throwable</code>
         * and providing a <code>message</code>.
         *
         * @param message
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @param scopesToResolve The dependency scopes that should be resolved, may be {@code null}.
         * @param session         The current build session, must not be {@code null}.
         * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}.
         * @throws ArtifactResolutionException in case of resolution issue
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
      public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top