- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for Yamada (0.23 sec)
-
tests/test_jsonable_encoder.py
@needs_pydanticv1 def test_encode_custom_json_encoders_model_pydanticv1(): class ModelWithCustomEncoder(BaseModel): dt_field: datetime class Config: json_encoders = { datetime: lambda dt: dt.replace( microsecond=0, tzinfo=timezone.utc ).isoformat() } class ModelWithCustomEncoderSubclass(ModelWithCustomEncoder): class Config:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 9K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-forms.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 2.7K bytes - Viewed (0) -
fastapi/encoders.py
ENCODERS_BY_TYPE: Dict[Type[Any], Callable[[Any], Any]] = { bytes: lambda o: o.decode(), Color: str, datetime.date: isoformat, datetime.datetime: isoformat, datetime.time: isoformat, datetime.timedelta: lambda td: td.total_seconds(), Decimal: decimal_encoder, Enum: lambda o: o.value, frozenset: list, deque: list, GeneratorType: list, IPv4Address: str,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/tr/docs/alternatives.md
**Otomatik API dökümantasyonu**nun ilk örneklerinden biri olduğu için, **FastAPI** arayışına ilham veren ilk fikirlerden biri oldu. !!! note "Not" Django REST Framework'ü, aynı zamanda **FastAPI**'ın dayandığı Starlette ve Uvicorn'un da yaratıcısı olan Tom Christie tarafından geliştirildi. !!! check "**FastAPI**'a nasıl ilham verdi?"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 28.8K bytes - Viewed (0) -
docs/pt/docs/python-types.md
## Motivação Vamos começar com um exemplo simples: ```Python {!../../../docs_src/python_types/tutorial001.py!} ``` A chamada deste programa gera: ``` John Doe ``` A função faz o seguinte: * Pega um `first_name` e `last_name`. * Converte a primeira letra de cada uma em maiúsculas com `title ()`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
essas imagens de contêiner **incrementalmente**, adicionando **uma camada em cima da outra**, começando do topo do `Dockerfile` e adicionando qualquer arquivo criado por cada uma das instruções do `Dockerfile`. Docker e ferramentas similares também usam um **cache interno** ao construir a imagem, se um arquivo não mudou desde a última vez que a imagem do contêiner foi construída, então ele irá **reutilizar a mesma camada** criada na última vez, ao invés de copiar o arquivo novamente e criar...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 37.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
Que quando chamadas, retornam instâncias de classes de mesmo nome. Então, você importa `Query`, que é uma função. E quando você a chama, ela retorna uma instância de uma classe também chamada `Query`. Estas funções são assim (ao invés de apenas usar as classes diretamente) para que seu editor não acuse erros sobre seus tipos.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` Esto es una función de Python. Esta función será llamada por **FastAPI** cada vez que reciba un request en la URL "`/`" usando una operación `GET`. En este caso es una función `async`. --- También podrías definirla como una función estándar en lugar de `async def`:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.9K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
* `OPTIONS` * `HEAD` * `PATCH` * `TRACE` HTTP protokolünde, bu "metodlardan" birini (veya daha fazlasını) kullanarak her bir yol ile iletişim kurabilirsiniz. --- API oluştururkan, belirli bir amaca hizmet eden belirli HTTP metodlarını kullanırsınız. Normalde kullanılan: * `POST`: veri oluşturmak. * `GET`: veri okumak. * `PUT`: veriyi güncellemek. * `DELETE`: veriyi silmek.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Feb 08 13:10:55 GMT 2024 - 10.6K bytes - Viewed (0)