Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,014 for dass (0.12 seconds)

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

    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip | Astuce
    
    Vous pouvez définir une surcharge de dépendance pour une dépendance utilisée n’importe où dans votre application **FastAPI**.
    
    La dépendance originale peut être utilisée dans une fonction de chemin d'accès, un décorateur de chemin d'accès (quand vous n’utilisez pas la valeur de retour), un appel à `.include_router()`, etc.
    
    FastAPI pourra toujours la surcharger.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. cmd/auth-handler_test.go

    			pass:  true,
    		},
    		// Test 4 - supported s3 type with post policy.
    		{
    			authT: authTypePostPolicy,
    			pass:  true,
    		},
    		// Test 5 - supported s3 type with streaming signed.
    		{
    			authT: authTypeStreamingSigned,
    			pass:  true,
    		},
    		// Test 6 - supported s3 type with signature v2.
    		{
    			authT: authTypeSignedV2,
    			pass:  true,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. docs/fr/docs/how-to/authentication-error-status-code.md

    Mais si, pour une raison quelconque, vos clients dépendent de l'ancien comportement, vous pouvez y revenir en surchargeant la méthode `make_not_authenticated_error` dans vos classes de sécurité.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. .github/workflows/maven.yml

              retention-days: 1
              path: ${{ env.MIMIR_LOCAL }}
    
          - name: Upload test artifacts
            uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
            if: failure() || cancelled()
            with:
              name: full-build-logs-${{ runner.os }}-${{ matrix.java }}
              retention-days: 1
              path: |
                **/target/surefire-reports/*
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 24 08:21:28 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_distributed_test.cc

        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 23.4K bytes
    - Click Count (0)
  6. tests/test_query_cookie_header_model_extra_params.py

        return data
    
    
    def test_query_pass_extra_list():
        client = TestClient(app)
        resp = client.get(
            "/query",
            params={
                "param": "123",
                "param2": ["456", "789"],  # Pass a list of values as extra parameter
            },
        )
        assert resp.status_code == 200
        assert resp.json() == {
            "param": "123",
            "param2": ["456", "789"],
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/first-steps.md

    ### Configurer le `entrypoint` de l’application dans `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    Vous pouvez configurer l’emplacement de votre application dans un fichier `pyproject.toml` comme :
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/testing-events.md

    Lorsque vous avez besoin d'exécuter `lifespan` dans vos tests, vous pouvez utiliser `TestClient` avec une instruction `with` :
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    Vous pouvez lire plus de détails dans [« Exécuter lifespan dans les tests sur le site de documentation officiel de Starlette. »](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 701 bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/sub-applications.md

    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 14:16] *}
    
    ### Monter la sous-application { #mount-the-sub-application }
    
    Dans votre application de premier niveau, `app`, montez la sous‑application, `subapi`.
    
    Dans ce cas, elle sera montée au chemin `/subapi` :
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/lifecycle.go

    // modification time plus the number of transition/restore days.
    //
    //	e.g. If the object modtime is `Thu May 21 13:42:50 GMT 2020` and the object should
    //	    transition in 1 day, then the expected transition time is `Fri, 23 May 2020 00:00:00 GMT`
    func ExpectedExpiryTime(modTime time.Time, days int) time.Time {
    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top