Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for inside (0.17 sec)

  1. cmd/object-handlers_test.go

    		},
    	}
    
    	// Iterating over the cases, fetching the object validating the response.
    	for i, testCase := range testCases {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request for Get Object end point.
    		req, err := newTestSignedRequestV4(http.MethodHead, getHeadObjectURL("", testCase.bucketName, testCase.objectName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	if !globalBrowserEnabled {
    		globalBrowserEnabled = true
    		defer func() { globalBrowserEnabled = false }()
    	}
    
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	req, perr := newPostRequestV4("", bucketName, objectName, []byte("pwned"), credentials.AccessKey, credentials.SecretKey)
    	if perr != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    But you can also declare the `Response` that you want to be used, in the *path operation decorator*.
    
    The contents that you return from your *path operation function* will be put inside of that `Response`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples`
    
    Here we pass `examples` containing one example of the data expected in `Body()`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-29"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

        return burgers
    ```
    
    ### More technical details
    
    You might have noticed that `await` can only be used inside of functions defined with `async def`.
    
    But at the same time, functions defined with `async def` have to be "awaited". So, functions with `async def` can only be called inside of functions defined with `async def` too.
    
    So, about the egg and the chicken, how do you call the first `async` function?
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                is KtClassLikeSymbol -> {
                    val outerClassId = symbol.classIdIfNonLocal?.outerClassId
                    if (outerClassId != null) { // Won't work for local and top-level classes, or classes inside a script
                        val outerFirClassifier = symbolFirSession.firProvider.getFirClassifierByFqName(outerClassId) ?: return null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/options.go

    	HostProbeSNATIPV6 = netip.MustParseAddr(env.RegisterStringVar("HOST_PROBE_SNAT_IPV6", DefaultHostProbeSNATIPV6, "").Get())
    )
    
    const (
    	// to reliably identify kubelet healthprobes from inside the pod (versus standard kube-proxy traffic,
    	// since the IP is normally the same), we SNAT identified host probes in the host netns to a fixed
    	// APIPA/"link-local" IP.
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    * It contains an `app/main.py` file. As it is inside a Python package (a directory with a file `__init__.py`), it is a "module" of that package: `app.main`.
    * There's also an `app/dependencies.py` file, just like `app/main.py`, it is a "module": `app.dependencies`.
    * There's a subdirectory `app/routers/` with another file `__init__.py`, so it's a "Python subpackage": `app.routers`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. common/scripts/setup_env.sh

    fi
    
    # gitconfig conditional host mount (needed for git commands inside container)
    if [[ -f "${HOME}/.gitconfig" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.gitconfig,destination=/home/.gitconfig,readonly "
    fi
    
    # .netrc conditional host mount (needed for git commands inside container)
    if [[ -f "${HOME}/.netrc" ]]; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top