- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 113 for FORM (0.12 sec)
-
tests/test_security_oauth2.py
user = User(username=oauth_header) return user @app.post("/login") # Here we use string annotations to test them def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()): return form_data @app.get("/users/me") # Here we use string annotations to test them def read_current_user(current_user: "User" = Depends(get_current_user)): return current_user
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 10.7K bytes - Viewed (0) -
doc/next/6-stdlib/2-unique.md
canonicalizing values (like "interning" or "hash-consing"). Any value of comparable type may be canonicalized with the new `Make[T]` function, which produces a reference to a canonical copy of the value in the form of a `Handle[T]`. Two `Handle[T]` are equal if and only if the values used to produce the handles are equal, allowing programs to deduplicate values and reduce their memory footprint.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 13:37:36 GMT 2024 - 579 bytes - Viewed (0) -
LICENSES/vendor/github.com/antlr4-go/antlr/v4/LICENSE
modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Mon Apr 22 17:54:32 GMT 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/reference/security/index.md
## OAuth2 Authentication ::: fastapi.security.OAuth2 ::: fastapi.security.OAuth2AuthorizationCodeBearer ::: fastapi.security.OAuth2PasswordBearer ## OAuth2 Password Form ::: fastapi.security.OAuth2PasswordRequestForm ::: fastapi.security.OAuth2PasswordRequestFormStrict ## OAuth2 Security Scopes in Dependencies ::: fastapi.security.SecurityScopes ## OpenID Connect
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Viewed (0) -
cmd/object-api-options.go
var partNumber int var err error if pn := r.Form.Get(xhttp.PartNumber); pn != "" { partNumber, err = strconv.Atoi(pn) if err != nil { return opts, err } if isMaxPartID(partNumber) { return opts, errInvalidMaxParts } if partNumber <= 0 { return opts, errInvalidArgument } } vid := strings.TrimSpace(r.Form.Get(xhttp.VersionID)) if vid != "" && vid != nullVersionID {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 20 09:05:54 GMT 2024 - 14.2K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/licenses/unrecognized-jline-3.26.1.txt
conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Plain Text - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 09:13:56 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
- send_text - send_bytes - send_json - close When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it. You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ``` ::: fastapi.WebSocketDisconnect ## WebSockets - additional classes Additional classes for handling WebSockets.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Viewed (0) -
internal/bpool/bpool.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bpool import "github.com/klauspost/reedsolomon" // BytePoolCap implements a leaky pool of []byte in the form of a bounded channel. type BytePoolCap struct { c chan []byte w int wcap int } // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new // byte arrays sized based on width.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:44:59 GMT 2024 - 2.6K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
func (a adminAPIHandlers) SetRemoteTargetHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() vars := mux.Vars(r) bucket := pathClean(vars["bucket"]) update := r.Form.Get("update") == "true" // Get current object layer instance. objectAPI, _ := validateAdminReq(ctx, w, r, policy.SetBucketTargetAction) if objectAPI == nil { return } // Check if bucket exists.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 32.5K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
{!> ../../../docs_src/schema_extra_example/tutorial002.py!} ``` ## `examples` in JSON Schema - OpenAPI When using any of: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**. ### `Body` with `examples`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0)