Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,892 for PATH (0.04 sec)

  1. cmd/xl-storage-format-utils.go

    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true)
    	if err != nil {
    		return fivs, err
    	}
    
    	// If inclFreeVersions is false, partition the versions in fivs.Versions
    	// such that finally fivs.Versions has
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. scripts/deploy_docs_status.py

                continue
            lang = match.group(1)
            path = match.group(2)
            if path.endswith("index.md"):
                path = path.replace("index.md", "")
            else:
                path = path.replace(".md", "/")
            if lang == "en":
                link = f"{deploy_url}/{path}"
            else:
                link = f"{deploy_url}/{lang}/{path}"
            lang_links.setdefault(lang, []).append(link)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fastapi/applications.py

            )
    
        def get(
            self,
            path: Annotated[
                str,
                Doc(
                    """
                    The URL path to be used for this *path operation*.
    
                    For example, in `http://example.com/items`, the path is `/items`.
                    """
                ),
            ],
            *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 578 bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_windows.go

    func IsLikelyMountPoint(path string) bool {
    	path = filepath.Dir(path)
    	if v, ok := mountPointCache.Load(path); ok {
    		return v.(bool)
    	}
    	wpath, _ := windows.UTF16PtrFromString(path)
    	wvolume := make([]uint16, len(path)+1)
    
    	if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil {
    		mountPointCache.Store(path, false)
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	return nil
    }
    
    func getValidPath(path string) (string, error) {
    	if path == "" {
    		return path, errInvalidArgument
    	}
    
    	var err error
    	// Disallow relative paths, figure out absolute paths.
    	path, err = filepath.Abs(path)
    	if err != nil {
    		return path, err
    	}
    
    	fi, err := Lstat(path)
    	if err != nil && !osIsNotExist(err) {
    		return path, err
    	}
    	if osIsNotExist(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

        }
    
        private static MavenProperties loadPropertiesFile(
                Path path, boolean failIfNotFound, Function<String, String> callback) throws IOException {
            MavenProperties configProps = new MavenProperties(null, false);
            if (Files.exists(path) || failIfNotFound) {
                configProps.load(path);
                loadIncludes(path, configProps, callback);
                trimValues(configProps);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

    ## Proxy with a stripped path prefix
    
    Having a proxy with a stripped path prefix, in this case, means that you could declare a path at `/app` in your code, but then, you add a layer on top (the proxy) that would put your **FastAPI** application under a path like `/api/v1`.
    
    In this case, the original path `/app` would actually be served at `/api/v1/app`.
    
    Even though all your code is written assuming there's just `/app`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 579 bytes
    - Viewed (0)
Back to top