- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for delattr (0.04 seconds)
-
fastapi/dependencies/models.py
return False dunder_call = getattr(_impartial(self.call), "__call__", None) # noqa: B004 if dunder_call is None: return False # pragma: no cover if inspect.isgeneratorfunction( _impartial(dunder_call) ) or inspect.isgeneratorfunction(_unwrapped_call(dunder_call)): return TrueCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.1K bytes - Click Count (0) -
fastapi/openapi/utils.py
openapi_examples = getattr(field_info, "openapi_examples", None) example = getattr(field_info, "example", None) if openapi_examples: parameter["examples"] = jsonable_encoder(openapi_examples) elif example != Undefined: parameter["example"] = jsonable_encoder(example) if getattr(field_info, "deprecated", None):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 23.2K bytes - Click Count (0) -
fastapi/dependencies/utils.py
isinstance(field_info, params.Param) and getattr(field_info, "in_", None) is None ): field_info.in_ = params.ParamTypes.query use_annotation_from_field_info = use_annotation if isinstance(field_info, params.Form): ensure_multipart_is_installed() if not field_info.alias and getattr(field_info, "convert_underscores", None):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
docs/pt/docs/tutorial/sql-databases.md
### Ler um Único Hero { #read-one-hero } Podemos **ler** um único `Hero`. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *} ### Deletar um Hero { #delete-a-hero } Também podemos **deletar** um `Hero`. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *} ### Executar o App { #run-the-app } Você pode executar o app:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 16.9K bytes - Click Count (0) -
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Optional, TypeVar, Union from pydantic import BaseModel DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str] IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 455 bytes - Click Count (0) -
docs/es/docs/advanced/behind-a-proxy.md
# Detrás de un Proxy { #behind-a-proxy } En muchas situaciones, usarías un **proxy** como Traefik o Nginx delante de tu app de FastAPI. Estos proxies podrían manejar certificados HTTPS y otras cosas. ## Headers reenviados por el Proxy { #proxy-forwarded-headers }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.1K bytes - Click Count (0) -
docs/es/docs/history-design-future.md
Muchos desarrolladores y equipos ya dependen de **FastAPI** para sus proyectos (incluyéndome a mí y a mi equipo). Pero aún así, hay muchas mejoras y funcionalidades por venir. **FastAPI** tiene un gran futuro por delante.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 4.7K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
return await func(*args, **kwargs) if inspect.isclass(func): return await run_in_threadpool(func, *args, **kwargs) dunder_call = getattr(func, "__call__", None) # noqa: B004 if iscoroutinefunction(dunder_call): return await dunder_call(*args, **kwargs) return await run_in_threadpool(func, *args, **kwargs) return wrapper
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
Normalmente você usa: * `POST`: para criar dados. * `GET`: para ler dados. * `PUT`: para atualizar dados. * `DELETE`: para deletar dados. Portanto, no OpenAPI, cada um dos métodos HTTP é chamado de "operação". Vamos chamá-los de "**operações**" também. #### Defina um decorador de operação de rota { #define-a-path-operation-decorator }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.6K bytes - Click Count (0) -
CHANGELOG.md
of unacknowledged data per stream and no per-connection limit. * Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused `NullPointerException` crashes in `Deflater`. * Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2)