- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 643 for INVALID (0.04 seconds)
-
docs_src/dependencies/tutorial012_an_py39.py
if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 746 bytes - Click Count (0) -
configure.py
# Check if the path is valid if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK): break elif not os.path.exists(python_bin_path): print('Invalid python path: {} cannot be found.'.format(python_bin_path)) else: print('{} is not executable. Is it the python binary?'.format( python_bin_path)) environ_cp['PYTHON_BIN_PATH'] = ''Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Apr 30 15:18:54 GMT 2025 - 48.3K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
expectedErr error } tests := []testCase{ // Test - 1 valid buffer with CRLF. {bytes.NewReader([]byte("\r\n")), nil}, // Test - 2 invalid buffer with no CRLF. {bytes.NewReader([]byte("he")), errMalformedEncoding}, // Test - 3 invalid buffer with more characters. {bytes.NewReader([]byte("he\r\n")), errMalformedEncoding}, // Test - 4 smaller buffer than expected.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/peer-rest-server.go
return np, grid.NewRemoteErr(errors.New("user-or-group is missing")) } userType, err := strconv.Atoi(mss.Get(peerRESTUserType)) if err != nil { return np, grid.NewRemoteErr(fmt.Errorf("user-type `%s` is invalid: %w", mss.Get(peerRESTUserType), err)) } isGroup := mss.Get(peerRESTIsGroup) == "true" if err := globalIAMSys.LoadPolicyMapping(context.Background(), objAPI, userOrGroup, IAMUserType(userType), isGroup); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration_test.go
<Days>0</Days> </Expiration>`, expectedErr: errLifecycleInvalidDays, }, { // Expiration with invalid date inputXML: ` <Expiration> <Date>invalid date</Date> </Expiration>`, expectedErr: errLifecycleInvalidDate, }, { // Expiration with both number of days nor a date
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Click Count (0) -
internal/hash/reader_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.2K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial005_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.5K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial005_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.4K bytes - Click Count (0) -
docs_src/app_testing/app_b_py310/main.py
raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jan 09 14:44:08 GMT 2024 - 1.1K bytes - Click Count (0) -
docs_src/app_testing/app_b_py39/main.py
raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.1K bytes - Click Count (0)