- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,713 for Jake (0.03 sec)
-
docs/en/docs/advanced/response-directly.md
This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc. ## Using the `jsonable_encoder` in a `Response` Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
cmd/rebalance-admin.go
meta := &rebalanceMeta{} err = meta.load(ctx, z.serverPools[0]) if err != nil { return r, err } // Compute disk usage percentage si := z.StorageInfo(ctx, true) diskStats := make([]struct { AvailableSpace uint64 TotalSpace uint64 }, len(z.serverPools)) for _, disk := range si.Disks { // Ignore invalid. if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
"net/http/httptest" "sync" "sync/atomic" "time" "github.com/minio/mux" ) const numberOfNodes = 5 var ( ds *Dsync nodes = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports. lockServers = make([]*lockServer, numberOfNodes) ) func getLockArgs(r *http.Request) (args LockArgs, err error) { buf, err := io.ReadAll(r.Body) if err != nil { return args, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial009b.py
client = TestClient(app) def test_get(tmp_path: Path): file_path: Path = tmp_path / "large-video-file.mp4" tutorial009b.some_file_path = str(file_path) test_content = b"Fake video bytes" file_path.write_bytes(test_content) response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jul 03 19:51:28 UTC 2021 - 490 bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial009.py
client = TestClient(app) def test_get(tmp_path: Path): file_path: Path = tmp_path / "large-video-file.mp4" tutorial009.some_file_path = str(file_path) test_content = b"Fake video bytes" file_path.write_bytes(test_content) response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jul 03 19:51:28 UTC 2021 - 487 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/os/user/68312.md
the current user is joined to a slow domain, which is the usual case for many corporate users. The new implementation performance is now in the order of milliseconds, compared to the previous implementation which could take several seconds,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 21 19:59:22 UTC 2024 - 332 bytes - Viewed (0) -
callbacks/update.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:44:55 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/bucket/replication/replication.go
} // replication config should have at least one rule if len(c.Rules) == 0 { return errReplicationNoRule } // Validate all the rules in the replication config targetMap := make(map[string]struct{}) priorityMap := make(map[string]struct{}) var legacyArn bool for _, r := range c.Rules { if _, ok := targetMap[r.Destination.Bucket]; !ok { targetMap[r.Destination.Bucket] = struct{}{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/service.go
serviceUnFreeze // Un-Freeze previously frozen S3 API calls. // Add new service requests here. ) // Global service signal channel. var globalServiceSignalCh = make(chan serviceSignal) // GlobalContext context that is canceled when server is requested to shut down. // cancelGlobalContext can be used to indicate server shutdown.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
return pi, nil } func ExtractPodInfo(pod *v1.Pod) *PodInfo { pi := &PodInfo{ Containers: sets.New[string](), Labels: pod.Labels, Annotations: pod.Annotations, ProxyEnvironments: make(map[string]string), } for _, c := range containers(pod) { pi.Containers.Insert(c.Name) if c.Name == ISTIOPROXY { // don't include ports from istio-proxy in the redirect ports
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0)