- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 91 for advantages (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/MoreFiles.java
} @Override public CharSource asCharSource(Charset charset) { if (options.length == 0) { // If no OpenOptions were passed, delegate to Files.lines, which could have performance // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an // overload taking OpenOptions, meaning we can't guarantee the same behavior w.r.t. things // like following/not following symlinks.)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str, Query()] = "rick" ``` ... ou dans des bases de code plus anciennes, vous trouverez : ```Python q: str = Query(default="rick") ``` ### Avantages de `Annotated` { #advantages-of-annotated } **L’utilisation de `Annotated` est recommandée** plutôt que la valeur par défaut dans les paramètres de fonction, c’est **mieux** pour plusieurs raisons. 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 19K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str, Query()] = "rick" ``` ...або у старих кодових базах ви знайдете: ```Python q: str = Query(default="rick") ``` ### Переваги використання `Annotated` { #advantages-of-annotated } Використання `Annotated` є рекомендованим замість задання значення за замовчуванням у параметрах функції, оскільки воно краще з кількох причин. 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params-str-validations.md
因此,你可以(且更推薦)這樣寫: ```Python q: Annotated[str, Query()] = "rick" ``` …或在較舊的程式碼中你會看到: ```Python q: str = Query(default="rick") ``` ### `Annotated` 的優點 { #advantages-of-annotated } 建議使用 `Annotated`,而不是在函式參數上使用(舊式的)預設值寫法,理由很多,且更好。🤓 函式參數的「預設值」就是「實際的預設值」,這在 Python 的直覺上更一致。😌 你也可以在沒有 FastAPI 的其他地方「直接呼叫」同一個函式,而且能「如預期」運作。若有「必填」參數(沒有預設值),你的「編輯器」會提示錯誤,「Python」在執行時也會抱怨你未傳遞必填參數。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/tr/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str, Query()] = "rick" ``` ...veya eski kod tabanlarında şuna rastlarsınız: ```Python q: str = Query(default="rick") ``` ### `Annotated`’ın avantajları { #advantages-of-annotated } Fonksiyon parametrelerindeki varsayılan değer stiline göre **`Annotated` kullanmanız önerilir**; birden fazla nedenle **daha iyidir**. 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17.3K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str, Query()] = "rick" ``` ...o en code bases más antiguas encontrarás: ```Python q: str = Query(default="rick") ``` ### Ventajas de `Annotated` { #advantages-of-annotated } Usar `Annotated` es recomendado en lugar del valor por defecto en los parámetros de función, es mejor por múltiples razones. 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* Tutorial: * [Query Parameters and String Validations - Additional validation](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#additional-validation) * [Advantages of `Annotated`](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#advantages-of-annotated)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
docs/fr/docs/advanced/generate-clients.md
Après avoir généré le nouveau client, vous aurez désormais des **noms de méthodes propres**, avec toute l’**autocomplétion**, les **erreurs en ligne**, etc. : <img src="/img/tutorial/generate-clients/image08.png"> ## Avantages { #benefits } En utilisant les clients générés automatiquement, vous obtiendrez de l’**autocomplétion** pour : * Méthodes. * Payloads de requête dans le corps, paramètres de requête, etc. * Payloads de réponse.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
* * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link * AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under * Android. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractFutureDefaultAtomicHelperTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java
* * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link * AggregateFutureStateFallbackAtomicHelperTest}. The advantage to this test is that it can run * under Android. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AggregateFutureStateDefaultAtomicHelperTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.5K bytes - Click Count (0)