Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 322 for castTo (0.04 seconds)

  1. docs/pt/docs/python-types.md

    {* ../../docs_src/python_types/tutorial006_py310.py hl[1] *}
    
    /// info | Informação
    
    Esses tipos internos dentro dos colchetes são chamados de "parâmetros de tipo".
    
    Neste caso, `str` é o parâmetro de tipo passado para `list`.
    
    ///
    
    Isso significa: "a variável `items` é uma `list`, e cada um dos itens desta lista é uma `str`".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. fastapi/openapi/utils.py

    import copy
    import http.client
    import inspect
    import warnings
    from collections.abc import Sequence
    from typing import Any, Literal, cast
    
    from fastapi import routing
    from fastapi._compat import (
        ModelField,
        get_definitions,
        get_flat_models_from_fields,
        get_model_name_map,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder, _Unset
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingObject.java

     * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface,
     * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
     * object being tested for equality to the custom interface. {@code ForwardingObject} implements no
     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/sub-applications.md

    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 14:16] *}
    
    ### Montar la sub-aplicación { #mount-the-sub-application }
    
    En tu aplicación de nivel superior, `app`, monta la sub-aplicación, `subapi`.
    
    En este caso, se montará en el path `/subapi`:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### Revisa la documentación automática de la API { #check-the-automatic-api-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/sub-applications.md

    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 14:16] *}
    
    ### Monte a sub-aplicação { #mount-the-sub-application }
    
    Na sua aplicação de nível superior, `app`, monte a sub-aplicação, `subapi`.
    
    Neste caso, ela será montada no path `/subapi`:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### Verifique a documentação automática da API { #check-the-automatic-api-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        return (Optional<T>) checkNotNull(secondChoice);
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/request-form-models.md

    ///
    
    Você pode utilizar a configuração de modelo do Pydantic para `proibir` qualquer campo `extra`:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py310.py hl[12] *}
    
    Caso um cliente tente enviar informações adicionais, ele receberá um retorno de **erro**.
    
    Por exemplo, se o cliente tentar enviar os campos de formulário:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        @Nullable ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize);
        /*
         * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry
         * instances, in which case it is safe to cast it from an array of nullable entries to an array
         * of non-null entries.
         */
        @SuppressWarnings("nullness")
        Entry<K, V>[] entries =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    Por ejemplo:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    En este caso, `fluffy` es una instance de la clase `Cat`.
    
    Y para crear `fluffy`, estás "llamando" a `Cat`.
    
    Entonces, una clase en Python también es un **callable**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      @Override
      public @Nullable V get(@Nullable Object key) {
        Object result =
            RegularImmutableMap.get(keyHashTable, alternatingKeysAndValues, size, keyOffset, key);
        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top