- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for adapted (0.68 seconds)
-
fastapi/encoders.py
from ._compat import ( Url, is_pydantic_v1_model_instance, ) # Taken from Pydantic v1 as is def isoformat(o: datetime.date | datetime.time) -> str: return o.isoformat() # Adapted from Pydantic v1 # TODO: pv2 should this return strings instead? def decimal_encoder(dec_value: Decimal) -> int | float: """ Encodes a Decimal as int if there's no exponent, otherwise float
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Doubles.java
double[] toDoubleArray() { return Arrays.copyOfRange(array, start, end); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * This is adapted from the regex suggested by {@link Double#valueOf(String)} for prevalidating * inputs. All valid inputs must pass this regex, but it's semantically fine if not all inputs
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 27.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LongMath.java
* is not precisely representable as a {@code double} * @since 30.0 */ @GwtIncompatible public static double roundToDouble(long x, RoundingMode mode) { // Logic adapted from ToDoubleRounder. double roundArbitrarily = (double) x; long roundArbitrarilyAsLong = (long) roundArbitrarily; int cmpXToRoundArbitrarily; if (roundArbitrarilyAsLong == Long.MAX_VALUE) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/static-files.md
Le `name="static"` lui donne un nom utilisable en interne par **FastAPI**. Tous ces paramètres peuvent être différents de « `static` », adaptez-les aux besoins et aux détails spécifiques de votre propre application. ## Plus d'informations { #more-info }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.9K bytes - Click Count (0) -
docs/pt/docs/project-generation.md
# Full Stack FastAPI Template { #full-stack-fastapi-template } _Templates_, embora tipicamente venham com alguma configuração específica, são desenhados para serem flexíveis e customizáveis. Isso permite que você os modifique e adapte para as especificações do seu projeto, fazendo-os um excelente ponto de partida. 🏁Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/fr/docs/project-generation.md
Les modèles, bien qu'ils soient généralement livrés avec une configuration spécifique, sont conçus pour être flexibles et personnalisables. Cela vous permet de les modifier et de les adapter aux exigences de votre projet, ce qui en fait un excellent point de départ. 🏁
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/fr/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image04.png"> ## Modifier les paramètres Swagger UI par défaut { #change-default-swagger-ui-parameters } FastAPI inclut des paramètres de configuration par défaut adaptés à la plupart des cas d'utilisation. Il inclut ces configurations par défaut : {* ../../fastapi/openapi/docs.py ln[9:24] hl[18:24] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/fr/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
Vous pouvez utiliser [`bump-pydantic`](https://github.com/pydantic/bump-pydantic) de la même équipe Pydantic. Cet outil vous aidera à modifier automatiquement la majeure partie du code à adapter. Après cela, vous pouvez exécuter les tests et vérifier que tout fonctionne. Si c'est le cas, vous avez terminé. 😎 ## Pydantic v1 dans v2 { #pydantic-v1-in-v2 }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
* * This class is package-private. If you want a class like {@code FluentFuture} but with extra * methods, we recommend declaring your own subclass of {@link ListenableFuture}, complete with a * method like {@link #from} to adapt an existing {@code ListenableFuture}, implemented atop a * {@link ForwardingListenableFuture} that forwards to that future and adds the desired methods. */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
* domain. The author hereby disclaims copyright to this source code. */ /* * Source: * https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp * (Modified to adapt to Guava coding conventions and to use the HashFunction interface) */ package com.google.common.hash; import static com.google.common.hash.Hashing.GOOD_FAST_HASH_SEED; import static java.lang.Byte.toUnsignedInt;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.8K bytes - Click Count (0)