Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for vol (0.01 sec)

  1. docs_src/query_params_str_validations/tutorial015_an_py39.py

    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    
    
    @app.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 01 22:02:35 UTC 2025
    - 781 bytes
    - Viewed (0)
  2. cmd/xl-storage-free-version_test.go

    	}
    
    	freeVersionsTests := []struct {
    		vol          string
    		name         string
    		inclFreeVers bool
    		afterFn      func(fi FileInfo) (string, error)
    		expectedFree bool
    		expectedErr  error
    	}{
    		// ToFileInfo with 'inclFreeVers = true' should return the latest
    		// non-free version if one is present
    		{
    			vol:          newtierfi.Volume,
    			name:         newtierfi.Name,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial015_an_py310.py

    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    
    
    @app.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 01 22:02:35 UTC 2025
    - 768 bytes
    - Viewed (0)
  4. cmd/storage-rest-common.go

    	storageRESTMethodReadMultiple   = "/rmpl"
    	storageRESTMethodCleanAbandoned = "/cln"
    	storageRESTMethodDeleteBulk     = "/dblk"
    	storageRESTMethodReadParts      = "/rps"
    )
    
    const (
    	storageRESTVolume           = "vol"
    	storageRESTVolumes          = "vols"
    	storageRESTDirPath          = "dpath"
    	storageRESTFilePath         = "fp"
    	storageRESTVersionID        = "vid"
    	storageRESTHealing          = "heal"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/os-reliable_test.go

    		t.Fatal("Unexpected error", err)
    	}
    
    	if err = mkdirAll(pathJoin(path, "success-vol", "success-object"), 0o777, ""); err != nil {
    		t.Fatal("Unexpected error", err)
    	}
    }
    
    // Tests - renameAll()
    func TestOSRenameAll(t *testing.T) {
    	// create xlStorage test setup
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top