Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,866 for toen (0.02 seconds)

  1. docs/de/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Den Benutzer abrufen { #get-the-user }
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial012_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Header, HTTPException
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 746 bytes
    - Click Count (0)
  3. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "ParseExpectedTokenType",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpected2TokenTypes(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpected2TokenTypes",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

                version = "1.0"
                group = 'org.acme'
                description = "custom project description"
            """
    
            when:
            def result = gradleRunner('assemble').build()
    
            then:
            result.task(":generatePom").outcome == TaskOutcome.SUCCESS
            file("build/distributions/hello-world-1.0.jar").exists()
            file("build/distributions/hello-world-1.0-javadoc.jar").exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/lex/slice.go

    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_experimental_reader.h

    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 03:41:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/advanced-dependencies.md

    the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again inside the background task function....
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. cmd/signature-v2.go

    		return encodedResource + "?" + canonicalQuery
    	}
    	return encodedResource
    }
    
    // Return string to sign under two different conditions.
    // - if expires string is set then string to sign includes date instead of the Date header.
    // - if expires string is empty then string to sign includes date header instead.
    func getStringToSignV2(method string, encodedResource, encodedQuery string, headers http.Header, expires string) string {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. src/clean.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    "$gobin/go" clean -i std
    "$gobin/go" tool dist clean
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Feb 26 21:54:09 GMT 2020
    - 518 bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java

            // Try to start a non-existent job
            checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/start").then().body("response.status", equalTo(1));
        }
    
        @Test
        void testStopJob_notFound() {
            // Try to stop a non-existent job
            checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/stop").then().body("response.status", equalTo(1));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top