Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 851 for funciona (0.08 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/headers/InjectHeaders.java

    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    
    import java.util.Map;
    import java.util.Set;
    import java.util.function.BiConsumer;
    import java.util.function.Function;
    
    /**
     * A {@link RestTestTransform} that injects HTTP headers into a REST test. This includes adding the necessary values to the "do" section
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 07 15:48:06 GMT 2021
    - 3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Interners.java

          }
        }
      }
    
      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
      public static <E> Function<E, E> asFunction(Interner<E> interner) {
        return new InternerFunction<>(checkNotNull(interner));
      }
    
      private static final class InternerFunction<E> implements Function<E, E> {
    
        private final Interner<E> interner;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/query-params.md

    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    * `limit=10`: because that was the default value
    
    ## Optional parameters { #optional-parameters }
    
    The same way, you can declare optional query parameters, by setting their default to `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Bazı durumlarda bir dependency'nin döndürdüğü değere *path operation function* içinde gerçekten ihtiyacınız olmaz.
    
    Ya da dependency zaten bir değer döndürmüyordur.
    
    Ancak yine de çalıştırılmasını/çözülmesini istersiniz.
    
    Bu gibi durumlarda, `Depends` ile bir *path operation function* parametresi tanımlamak yerine, *path operation decorator*'üne `dependencies` adında bir `list` ekleyebilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<@Nullable FooChild> future = immediateFuture(null);
        BarChild barChild = new BarChild();
        Function<Foo, BarChild> function = unused -> barChild;
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertThat(bar).isEqualTo(barChild);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<@Nullable FooChild> future = immediateFuture(null);
        BarChild barChild = new BarChild();
        Function<Foo, BarChild> function = unused -> barChild;
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertThat(bar).isEqualTo(barChild);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. fastapi/background.py

                Doc(
                    """
                    The function to call after the response is sent.
    
                    It can be a regular `def` function or an `async def` function.
                    """
                ),
            ],
            *args: P.args,
            **kwargs: P.kwargs,
        ) -> None:
            """
            Add a function to be called in the background after the response is sent.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/testing-dependencies.md

    For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`.
    
    To override a dependency for testing, you put as a key the original dependency (a function), and as the value, your dependency override (another function).
    
    And then **FastAPI** will call that override instead of the original dependency.
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/advanced-dependencies.md

    ### `yield` ve `scope` ile dependency'ler { #dependencies-with-yield-and-scope }
    
    0.121.0 sürümünde FastAPI, `Depends(scope="function")` desteğini ekledi.
    
    `Depends(scope="function")` kullanıldığında, `yield` sonrasındaki çıkış kodu, *path operation function* biter bitmez, response client'a geri gönderilmeden önce çalıştırılır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    Ama sonra *path operation function* içindeki `commons` parametresinde bir `dict` alıyoruz.
    
    Ve biliyoruz ki editor'ler `dict`'ler için çok fazla destek (ör. completion) veremez; çünkü key'lerini ve value type'larını bilemezler.
    
    Daha iyisini yapabiliriz...
    
    ## Bir Şeyi Dependency Yapan Nedir { #what-makes-a-dependency }
    
    Şimdiye kadar dependency'leri function olarak tanımlanmış şekilde gördünüz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
Back to Top