Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 928 for opcional (0.08 sec)

  1. docs/pt/docs/alternatives.md

    Achar jeitos de conseguir melhor performance.
    
    Juntamente com Hug (como Hug é baseado no Falcon) inspirou **FastAPI** para declarar um parâmetro de `resposta` nas funções.
    
    Embora no FastAPI seja opcional, é utilizado principalmente para configurar cabeçalhos, cookies e códigos de status alternativos.
    
    ///
    
    ### <a href="https://moltenframework.com/" class="external-link" target="_blank">Molten</a>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

     */
    @DoNotMock("Use Optional.of(value) or Optional.absent()")
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public abstract class Optional<T> implements Serializable {
      /**
       * Returns an {@code Optional} instance with no contained reference.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's
       * {@code Optional.empty}.
       */
      public static <T> Optional<T> absent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

        List<Optional<Object>> optionals = ImmutableList.of(Optional.absent(), Optional.absent());
        assertThat(Optional.presentInstances(optionals)).isEmpty();
      }
    
      public void testPresentInstances_somePresent() {
        List<Optional<String>> optionals =
            ImmutableList.of(Optional.of("a"), Optional.<String>absent(), Optional.of("c"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. docs/it/docs/index.md

    from pydantic import BaseModel
    from typing import Optional
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool = Optional[None]
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Optional[str] = None):
        return {"item_id": item_id, "q": q}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/?skip=20
    ```
    
    gehen, werden die Parameter-Werte Ihrer Funktion sein:
    
    * `skip=20`: da Sie das in der URL gesetzt haben
    * `limit=10`: weil das der Defaultwert ist
    
    ## Optionale Parameter
    
    Auf die gleiche Weise können Sie optionale Query-Parameter deklarieren, indem Sie deren Defaultwert auf `None` setzen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params/tutorial002_py310.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    ```
    
    ////
    
    #### `Union` oder `Optional` verwenden?
    
    Wenn Sie eine Python-Version unterhalb 3.10 verwenden, hier ist mein sehr **subjektiver** Standpunkt dazu:
    
    * 🚨 Vermeiden Sie `Optional[SomeType]`
    * Stattdessen ✨ **verwenden Sie `Union[SomeType, None]`** ✨.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/MoreObjects.java

       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // The reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // A human readable message indicating details about the transition.
      // +optional
      optional string message = 5;
    }
    
    // DaemonSetList is a collection of daemon sets.
    message DaemonSetList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authorization/v1/generated.proto

      // +optional
      optional string version = 4;
    
      // Resource is one of the existing resource types.  "*" means all.
      // +optional
      optional string resource = 5;
    
      // Subresource is one of the existing resource types.  "" means none.
      // +optional
      optional string subresource = 6;
    
      // Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // The reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // A human readable message indicating details about the transition.
      // +optional
      optional string message = 5;
    }
    
    // DaemonSetList is a collection of daemon sets.
    message DaemonSetList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top