- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 348 for sela (0.2 sec)
-
docs_src/custom_request_and_route/tutorial001_py310.py
class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 976 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_py39.py
class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 967 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 1015 bytes - Viewed (0) -
tests/test_dependency_yield_scope.py
SessionRequestDep = Annotated[Session, Depends(dep_session, scope="request")] SessionDefaultDep = Annotated[Session, Depends(dep_session)] class NamedSession: def __init__(self, name: str = "default") -> None: self.name = name self.open = True def get_named_session(session: SessionRequestDep, session_b: SessionDefaultDep) -> Any: assert session is session_b named_session = NamedSession(name="named")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
/// info | Informação Um token "bearer" não é a única opção. Mas é a melhor para o nosso caso de uso. E pode ser a melhor para a maioria dos casos de uso, a menos que você seja um especialista em OAuth2 e saiba exatamente por que existe outra opção que se adapta melhor às suas necessidades. Nesse caso, o **FastAPI** também fornece as ferramentas para construí-la. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 8.9K bytes - Viewed (0) -
docs_src/python_types/tutorial010_py39.py
class Person: def __init__(self, name: str): self.name = name def get_person_name(one_person: Person):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 144 bytes - Viewed (0) -
docs/pt/docs/advanced/generate-clients.md
E sempre que você atualizar o código do backend e **regenerar** o frontend, ele terá quaisquer novas *operações de rota* disponíveis como métodos, as antigas removidas, e qualquer outra alteração será refletida no código gerado. 🤓 Isso também significa que, se algo mudou, será **refletido** no código do cliente automaticamente. E se você **construir** o cliente, ele falhará caso haja qualquer **incompatibilidade** nos dados usados.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
Multiset<E> self, Collection<? extends E> elements) { checkNotNull(self); checkNotNull(elements); if (elements instanceof Multiset) { return addAllImpl(self, (Multiset<? extends E>) elements); } else if (elements.isEmpty()) { return false; } else { return Iterators.addAll(self, elements.iterator()); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
tests/test_dependency_class.py
class CallableDependency: def __call__(self, value: str) -> str: return value class CallableGenDependency: def __call__(self, value: str) -> Generator[str, None, None]: yield value class AsyncCallableDependency: async def __call__(self, value: str) -> str: return value class AsyncCallableGenDependency: async def __call__(self, value: str) -> AsyncGenerator[str, None]:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java
*/ private String version; /** * The class loading strategy: 'self-first' (the default), * 'parent-first' (loads classes from the parent, then from the * extension) or 'plugin' (follows the rules from extensions * defined as plugins). */ private String classLoadingStrategy = "self-first"; // -----------/ // - Methods -/ // -----------/ /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 4.5K bytes - Viewed (0)