- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 725 for dependent (0.03 sec)
-
docs/es/docs/advanced/testing-dependencies.md
En este caso, puedes sobrescribir la dependencia que llama a ese proveedor y usar una dependencia personalizada que devuelva un usuario de prueba, solo para tus tests. ### Usa el atributo `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute } Para estos casos, tu aplicación **FastAPI** tiene un atributo `app.dependency_overrides`, es un simple `dict`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 2.6K bytes - Viewed (0) -
tests/test_dependency_after_yield_streaming.py
with pytest.raises((ValueError, Exception)): client.get("/broken-session-stream") def test_broken_session_stream_no_raise(): """ When a dependency with yield raises after the streaming response already started the 200 status code is already sent, but there's still an error in the server afterwards, an exception is raised and captured or shown in the server logs.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
будет корректной для использования в качестве зависимости **FastAPI**. На самом деле, FastAPI использует эти два декоратора внутренне. /// ## Зависимость базы данных с помощью `yield` { #a-database-dependency-with-yield } Например, с его помощью можно создать сессию работы с базой данных и закрыть её после завершения. Перед созданием ответа будет выполнен только код до и включая оператор `yield`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 19.7K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**. Here's a small preview of how you could integrate Strawberry with FastAPI:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * A test which demonstrates maven's dependency management * */ @Deprecated @SuppressWarnings("checkstyle:UnusedLocalVariable") class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java
super(); } /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(FessStandardTransformer.class); /** * Initializes the transformer after dependency injection. * Sets up the Fess configuration and data serializer components. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
public FileTypeHelper() { // Default constructor } /** * Initializes the file type mappings by loading configuration from Fess settings. * This method is called automatically after dependency injection is complete. * The mappings are loaded from the index filetype configuration property, * where each line contains a MIME type to file type mapping in the format "mimetype=filetype". */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *} ## Создать зависимость `get_current_user` { #create-a-get-current-user-dependency } Давайте создадим зависимость `get_current_user`. Помните, что у зависимостей могут быть подзависимости? `get_current_user` будет иметь зависимость от того же `oauth2_scheme`, который мы создали ранее.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 6.9K bytes - Viewed (0)