Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,641 for overrides (0.04 sec)

  1. docs/en/docs/advanced/testing-dependencies.md

    FastAPI will still be able to override it.
    
    ///
    
    Then you can reset your overrides (remove them) by setting `app.dependency_overrides` to be an empty `dict`:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/testing-dependencies.md

    # Probando Dependencias con Overrides { #testing-dependencies-with-overrides }
    
    ## Sobrescribir dependencias durante las pruebas { #overriding-dependencies-during-testing }
    
    Hay algunos escenarios donde podrías querer sobrescribir una dependencia durante las pruebas.
    
    No quieres que la dependencia original se ejecute (ni ninguna de las sub-dependencias que pueda tener).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. .github/labeler.yml

          - any-glob-to-any-file:
            - docs/en/docs/**
            - docs_src/**
          - all-globs-to-all-files:
            - '!fastapi/**'
            - '!pyproject.toml'
            - '!docs/en/data/sponsors.yml'
            - '!docs/en/overrides/main.html'
    
    lang-all:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - docs/*/docs/**
          - all-globs-to-all-files:
            - '!docs/en/docs/**'
            - '!docs/*/**/_*.md'
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Nov 23 20:10:04 UTC 2025
    - 921 bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/testing-dependencies.md

    Neste caso, você pode sobrepor (*override*) a dependência que chama o provedor, e utilizar uma dependência customizada que retorna um *mock* do usuário, apenas para os seus testes.
    
    ### Utilize o atributo `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/testing-dependencies.md

    # Testen mit Überschreibungen für Abhängigkeiten { #testing-dependencies-with-overrides }
    
    ## Abhängigkeiten beim Testen überschreiben { #overriding-dependencies-during-testing }
    
    Es gibt einige Szenarien, in denen Sie beim Testen möglicherweise eine Abhängigkeit überschreiben möchten.
    
    Sie möchten nicht, dass die ursprüngliche Abhängigkeit ausgeführt wird (und auch keine der möglicherweise vorhandenen Unterabhängigkeiten).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. docs/ru/docs/advanced/testing-dependencies.md

    # Тестирование зависимостей с переопределениями { #testing-dependencies-with-overrides }
    
    ## Переопределение зависимостей во время тестирования { #overriding-dependencies-during-testing }
    
    Есть сценарии, когда может понадобиться переопределить зависимость во время тестирования.
    
    Вы не хотите, чтобы исходная зависимость выполнялась (и любые её подзависимости тоже).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. pyproject.toml

    [tool.mypy]
    plugins = ["pydantic.mypy"]
    strict = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.concurrency"
    warn_unused_ignores = false
    ignore_missing_imports = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.tests.*"
    ignore_missing_imports = true
    check_untyped_defs = true
    
    [[tool.mypy.overrides]]
    module = "docs_src.*"
    disallow_incomplete_defs = false
    disallow_untyped_defs = false
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. tests/test_schema_extra_examples.py

        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        """
        Test that example overrides work:
    
        * pydantic model schema_extra is included
        * Body(example={}) overrides schema_extra in pydantic model
        * Body(examples{}) overrides Body(example={}) and schema_extra in pydantic model
        """
        app = create_app()
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

        public Class<? extends RootAction> getActionClass() {
            return actionClass;
        }
    
        /**
         * Overrides fillInStackTrace to return null for performance optimization.
         * This prevents stack trace generation for this exception type.
         *
         * @return null to skip stack trace generation
         */
        @Override
        public synchronized Throwable fillInStackTrace() {
            return null;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         */
        default boolean isOptionEnabled(
                UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) {
            // Handle --all option (overrides individual options)
            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Check specific option
            if (specificOption.isPresent()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top