Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 1,913 for parameters (0.05 seconds)

  1. docs/sts/web-identity.py

    @app.route('/')
    def homepage():
        text = '<a href="%s">Authenticate with keycloak</a>'
        return text % make_authorization_url()
    
    
    def make_authorization_url():
        # Generate a random string for the state parameter
        # Save it for use later to prevent xsrf attacks
    
        state = str(uuid4())
        params = {"client_id": client_id,
                  "response_type": "code",
                  "state": state,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  2. docs/iam/identity-manager-plugin.go

    			"groups": []string{"databases"},
    		},
    	},
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	token := r.FormValue("token")
    	if token == "" {
    		writeErrorResponse(w, errors.New("token parameter not given"))
    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/schema-extra-example.md

    当时 JSON Schema 没有 `examples`,所以 OpenAPI 在它修改过的版本中添加了自己的 `example` 字段。
    
    OpenAPI 还在规范的其他部分添加了 `example` 和 `examples` 字段:
    
    - [`Parameter Object`(规范中)](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object),被 FastAPI 的以下内容使用:
        - `Path()`
        - `Query()`
        - `Header()`
        - `Cookie()`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        /** The {@link BeanDesc} of the class that owns this method */
        protected final BeanDesc beanDesc;
    
        /** Constructor */
        protected final Constructor<?> constructor;
    
        /** Array of constructor parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** Information about parameterized argument types */
        protected final ParameterizedClassDesc[] parameterizedClassDescs;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/cookie-param-models.md

    # Modelos de Cookies { #cookie-parameter-models }
    
    Si tienes un grupo de **cookies** que están relacionadas, puedes crear un **modelo de Pydantic** para declararlas. 🍪
    
    Esto te permitirá **reutilizar el modelo** en **múltiples lugares** y también declarar validaciones y metadatos para todos los parámetros a la vez. 😎
    
    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/security/oauth2-scopes.md

    Ayrıca `fastapi.security` içinden import edilen, `SecurityScopes` tipinde özel bir parametre tanımlıyoruz.
    
    Bu `SecurityScopes` sınıfı, `Request`'e benzer (`Request`, request nesnesini doğrudan almak için kullanılmıştı).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    ## `scopes`'ları kullanma { #use-the-scopes }
    
    `security_scopes` parametresi `SecurityScopes` tipinde olacaktır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                out[2 * i] = (byte) (chars[i] & 0xFF);
                out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF);
            }
            return out;
        }
    
        /**
         * Helper: create a buffer containing the parameter and data segments
         */
        private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. fastapi/utils.py

        "field (e.g. Union[Response, dict, None]) you can disable generating the "
        "response model from the type annotation with the path operation decorator "
        "parameter response_model=None. Read more: "
        "https://fastapi.tiangolo.com/tutorial/response-model/"
    )
    
    
    def create_model_field(
        name: str,
        type_: Any,
        default: Any | None = Undefined,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                      },
                      MoreExecutors.directExecutor());
                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/cookie-param-models.md

    # Моделі параметрів Cookie { #cookie-parameter-models }
    
    Якщо у вас є група **cookies**, які пов'язані між собою, ви можете створити **Pydantic-модель**, щоб оголосити їх. 🍪
    
    Це дозволить вам повторно **використовувати модель** у **різних місцях**, а також оголосити валідацію та метадані для всіх параметрів одночасно. 😎
    
    /// note | Примітка
    
    Це підтримується з версії FastAPI `0.115.0`. 🤓
    
    ///
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top