Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2851 - 2860 of 2,992 for DEFAULT (0.05 seconds)

  1. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            helper.tryStartOperation("test_op", "test_data");
            assertEquals(5, passedRetries.get());
        }
    
        @Test
        public void test_tryStartOperation_twoArg_defaultRetry() {
            // Verify default retry value of 3 from config
            final AtomicInteger passedRetries = new AtomicInteger(-1);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  2. docs/es/docs/how-to/configure-swagger-ui.md

    Esa configuración cambiaría el tema de color del resaltado de sintaxis:
    
    <img src="/img/tutorial/extending-openapi/image04.png">
    
    ## Cambiar los parámetros por defecto de Swagger UI { #change-default-swagger-ui-parameters }
    
    FastAPI incluye algunos parámetros de configuración por defecto apropiados para la mayoría de los casos de uso.
    
    Incluye estas configuraciones por defecto:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. docs/de/docs/how-to/authentication-error-status-code.md

    Sie können beispielsweise eine Unterklasse von `HTTPBearer` erstellen, die einen Fehler `403 Forbidden` zurückgibt, statt des Default-`401 Unauthorized`-Fehlers:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *}
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/path-params-numeric-validations.md

    Але вам все одно потрібно використовувати `Path` для параметра шляху `item_id`. І з певних причин ви не хочете використовувати `Annotated`.
    
    Python видасть помилку, якщо розмістити значення з "default" перед значенням, яке не має "default".
    
    Але ви можете змінити порядок і розмістити значення без значення за замовчуванням (параметр запиту `q`) першим.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. tests/test_openapi_query_parameter_extension.py

                                    "required": False,
                                    "schema": {
                                        "anyOf": [{"type": "integer"}, {"type": "null"}],
                                        "default": 50,
                                        "title": "Standard Query Param",
                                    },
                                    "name": "standard_query_param",
                                    "in": "query",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. tests/test_dependency_contextvars.py

    from fastapi import Depends, FastAPI, Request, Response
    from fastapi.testclient import TestClient
    
    legacy_request_state_context_var: ContextVar[dict[str, Any] | None] = ContextVar(
        "legacy_request_state_context_var", default=None
    )
    
    app = FastAPI()
    
    
    async def set_up_request_state_dependency():
        request_state = {"user": "deadpond"}
        contextvar_token = legacy_request_state_context_var.set(request_state)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/handling-errors.md

    ///
    
    ## Sobrescreva os manipuladores de exceções padrão { #override-the-default-exception-handlers }
    
    **FastAPI** tem alguns manipuladores padrão de exceções.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. internal/config/policy/opa/legacy.go

    func SetPolicyOPAConfig(s config.Config, opaArgs Args) {
    	if opaArgs.URL == nil || opaArgs.URL.String() == "" {
    		// Do not enable if opaArgs was empty.
    		return
    	}
    	s[config.PolicyOPASubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: opaArgs.URL.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: opaArgs.AuthToken,
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  9. internal/config/storageclass/legacy.go

    func SetStorageClass(s config.Config, cfg Config) {
    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    	s[config.StorageClassSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: cfg.RRS.String(),
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  10. tests/test_multi_query_errors.py

    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: list[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": [5, 6]}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top