Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 66 for publication (0.07 seconds)

  1. docs/en/docs/history-design-future.md

    That way I could find the best ways to reduce code duplication as much as possible, to have completion everywhere, type and error checks, etc.
    
    All in a way that provided the best development experience for all the developers.
    
    ## Requirements { #requirements }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    /// warning | 警告
    
    配套的辅助函数 `fake_password_hasher` 和 `fake_save_user` 仅用于演示可能的数据流,当然并不提供真实的安全性。
    
    ///
    
    ## 减少重复 { #reduce-duplication }
    
    减少代码重复是 **FastAPI** 的核心思想之一。
    
    代码重复会导致 bug、安全问题、代码失步等问题(更新了某个位置的代码,但没有同步更新其它位置的代码)。
    
    上面的这些模型共享了大量数据,拥有重复的属性名和类型。
    
    我们可以做得更好。
    
    声明 `UserBase` 模型作为其它模型的基类。然后,用该类衍生出继承其属性(类型声明、校验等)的子类。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

            // of A, B, C, and D, so when scanning B and D, E will be added again 'filtered'.
            //
            // Without de-duplication, the final list would contain E three times, once for E being in the projects and
            // whitelisted, and twice more for E being a downstream dependency of B and D.
            return filtered.stream().distinct().toList();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
          // create a copy to keep it consistent in case value changes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/extra-models.md

    Ek destek fonksiyonları olan `fake_password_hasher` ve `fake_save_user` sadece verinin olası bir akışını göstermek içindir; elbette gerçek bir güvenlik sağlamazlar.
    
    ///
    
    ## Tekrarı Azaltma { #reduce-duplication }
    
    Kod tekrarını azaltmak, **FastAPI**'nin temel fikirlerinden biridir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    You just pass it to `Depends` and **FastAPI** knows how to do the rest.
    
    ///
    
    ## Share `Annotated` dependencies { #share-annotated-dependencies }
    
    In the examples above, you see that there's a tiny bit of **code duplication**.
    
    When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/extra-models.md

    Вспомогательные дополнительные функции `fake_password_hasher` и `fake_save_user` используются только для демонстрации возможного потока данных и, конечно, не обеспечивают настоящую безопасность.
    
    ///
    
    ## Сократите дублирование { #reduce-duplication }
    
    Сокращение дублирования кода — это одна из главных идей **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/extra-models.md

    As funções adicionais de suporte `fake_password_hasher` e `fake_save_user` servem apenas para demonstrar um fluxo possível dos dados, mas é claro que elas não fornecem segurança real.
    
    ///
    
    ## Reduzir duplicação { #reduce-duplication }
    
    Reduzir a duplicação de código é uma das ideias principais no **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          Multiset<Integer> get() {
            return Synchronized.multiset(HashMultiset.<Integer>create(), null);
          }
        },
        ;
    
        abstract Multiset<Integer> get();
      }
    
      /**
       * Duplication of the old version of ConcurrentHashMultiset (with some unused stuff removed, like
       * serialization code) which used a map with boxed integers for the values.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/extra-models.md

    Die unterstützenden zusätzlichen Funktionen `fake_password_hasher` und `fake_save_user` dienen nur zur Demo eines möglichen Datenflusses, bieten jedoch natürlich keine echte Sicherheit.
    
    ///
    
    ## Verdopplung vermeiden { #reduce-duplication }
    
    Die Reduzierung von Code-Verdoppelung ist eine der Kernideen von **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top