Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,544 for whereIs (0.12 sec)

  1. docs_src/response_model/tutorial003_04.py

    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Union[Response, dict]:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 384 bytes
    - Viewed (0)
  2. src/path/filepath/path_unix.go

    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_plan9.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 970 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py

    
    @needs_py39
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    @needs_py39
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. docs/en/docs/reference/fastapi.md

    # `FastAPI` class
    
    Here's the reference information for the `FastAPI` class, with all its parameters, attributes and methods.
    
    You can import the `FastAPI` class directly from `fastapi`:
    
    ```python
    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 701 bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial008d_an_py39.py

            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 734 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/version_buildvcs_bzr.txt

    [!exec:bzr] skip
    [short] skip
    env GOBIN=$WORK/gopath/bin
    env oldpath=$PATH
    env HOME=$WORK
    cd repo/a
    exec bzr whoami 'J.R. Gopher <******@****.***>'
    
    # If there's no local repository, there's no VCS info.
    go install
    go version -m $GOBIN/a$GOEXE
    ! stdout bzrrevision
    rm $GOBIN/a$GOEXE
    
    # If there is a repository, but it can't be used for some reason,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 03:44:02 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CachingRuleExecutor.java

     * rule changes, or that its configuration changes, then we will have a cache miss.
     *
     * @param <KEY> the primary key for the cache. This is an explicit input, whereas the rule is an implicit one.
     * @param <DETAILS> the publicly exposed type that a user would see. Typically component metadata details.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing.
    //
    // Specifically, it tests a scenerio wherein, without a
    // P sequence number of GoSyscallBegin, the syscall that
    // a ProcSteal applies to is ambiguous. This only happens in
    // practice when the events aren't already properly ordered
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

            then:
            0 * delegate._
    
            where:
            description               | contents
            "new lines"               | "this is\na text file\n".bytes
            "new lines with CR-LF"    | "this is\r\na text file\r\n".bytes
            "no new lines"            | "No new lines\tin this file".bytes
            "utf8 content"            | "here's some UTF8 content: €ЇΩ".getBytes(Charset.forName("UTF-8"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial003_05_py310.py

    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 373 bytes
    - Viewed (0)
Back to top