Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 519 for trip (1.65 sec)

  1. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/query-params-str-validations.md

    Pero ahora, al tener `Query(max_length=50)` dentro de `Annotated`, le estamos diciendo a FastAPI que queremos que tenga **validación adicional** para este valor, queremos que tenga un máximo de 50 caracteres. 😎
    
    /// tip | Consejo
    
    Aquí estamos usando `Query()` porque este es un **parámetro de query**. Más adelante veremos otros como `Path()`, `Body()`, `Header()`, y `Cookie()`, que también aceptan los mismos argumentos que `Query()`.
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

         */
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    Você deve fazer isso depois de adicionar todas as suas *operações de rota*.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002.py hl[2,12:21,24] *}
    
    /// tip | Dica
    
    Se você chamar `app.openapi()` manualmente, os `operationId`s devem ser atualizados antes dessa chamada.
    
    ///
    
    /// warning | Aviso
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. docs/ru/docs/environment-variables.md

    # Переменные окружения
    
    /// tip
    
    Если вы уже знаете, что такое «переменные окружения» и как их использовать, можете пропустить это.
    
    ///
    
    Переменная окружения (также известная как «**env var**») - это переменная, которая живет **вне** кода Python, в **операционной системе**, и может быть прочитана вашим кодом Python (или другими программами).
    
    Переменные окружения могут быть полезны для работы с **настройками** приложений, как часть **установки** Python и т.д.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Oct 15 11:38:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/custom-response.md

    Neste caso, o cabeçalho HTTP `Content-Type` irá ser definido como `application/json`.
    
    E será documentado como tal no OpenAPI.
    
    ///
    
    /// tip | Dica
    
    A `ORJSONResponse` está disponível apenas no FastAPI, e não no Starlette.
    
    ///
    
    ## Resposta HTML
    
    Para retornar uma resposta com HTML diretamente do **FastAPI**, utilize `HTMLResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

      @Test
      fun hostContainsOnlyStrippedCharacters() {
        val url = "http://>/".toHttpUrl()
        assertThat(url.host).isEqualTo(">")
        assertThat(url.toUri().host).isNull()
      }
    
      /**
       * Strip unexpected characters when converting to URI (which is more strict).
       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         */
        protected String crawlingConfigInternal(final CrawlingConfigForm form) {
    
            String configName = form.crawlingConfigName;
            String configPath = form.crawlingConfigPath.trim();
            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

         */
        public static String requireNonEmpty(String value, String fieldName) {
            if (value == null) {
                throw new IllegalArgumentException(fieldName + " cannot be null");
            }
            if (value.trim().isEmpty()) {
                throw new IllegalArgumentException(fieldName + " cannot be empty");
            }
            return value;
        }
    
        /**
         * Validates array is not null and has expected length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/query-params.md

    Ayrıca, dikkatinizi çekerim ki; **FastAPI**, `item_id` parametresinin bir yol parametresi olduğunu ve `q` parametresinin yol değil bir sorgu parametresi olduğunu fark edecek kadar beceriklidir.
    
    ///
    
    ## Sorgu Parametresi Tip Dönüşümü
    
    Aşağıda görüldüğü gibi dönüştürülmek üzere `bool` tipleri de tanımlayabilirsiniz:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    Bu durumda, eğer şu adrese giderseniz:
    
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top