Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 591 for bine (0.16 sec)

  1. docs/de/docs/tutorial/handling-errors.md

    ```Python hl_lines="1"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Eine `HTTPException` in Ihrem Code auslösen
    
    `HTTPException` ist eine normale Python-<abbr title="Exception – Ausnahme, Fehler: Python-Objekt, das einen Fehler nebst Metadaten repräsentiert">Exception</abbr> mit einigen zusätzlichen Daten, die für APIs relevant sind.
    
    Weil es eine Python-Exception ist, geben Sie sie nicht zurück, (`return`), sondern Sie lösen sie aus (`raise`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error {
    	type jobKV BatchJobKV
    	var tmp jobKV
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*kv = BatchJobKV(tmp)
    	kv.line, kv.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns an error if key is empty
    func (kv BatchJobKV) Validate() error {
    	if kv.Key == "" {
    		return BatchJobYamlErr{
    			line: kv.line,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    		return line, true, nil
    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    		}
    		return
    	}
    	err = nil
    
    	if line[len(line)-1] == '\n' {
    		drop := 1
    		if len(line) > 1 && line[len(line)-2] == '\r' {
    			drop = 2
    		}
    		line = line[:len(line)-drop]
    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/middleware.md

    # Middleware
    
    Sie können Middleware zu **FastAPI**-Anwendungen hinzufügen.
    
    Eine „Middleware“ ist eine Funktion, die mit jedem **Request** arbeitet, bevor er von einer bestimmten *Pfadoperation* verarbeitet wird. Und auch mit jeder **Response**, bevor sie zurückgegeben wird.
    
    * Sie nimmt jeden **Request** entgegen, der an Ihre Anwendung gesendet wird.
    * Sie kann dann etwas mit diesem **Request** tun oder beliebigen Code ausführen.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 11:26:59 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

        Tatsächlich verwendet FastAPI diese beiden Dekoratoren intern.
    
    ## Eine Datenbank-Abhängigkeit mit `yield`.
    
    Sie könnten damit beispielsweise eine Datenbanksession erstellen und diese nach Abschluss schließen.
    
    Nur der Code vor und einschließlich der `yield`-Anweisung wird ausgeführt, bevor eine Response erzeugt wird:
    
    ```Python hl_lines="2-4"
    {!../../../docs_src/dependencies/tutorial007.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    		}
    	}
    	in.Push(NewTokenizer(name, fd, fd))
    }
    
    // #line processing.
    func (in *Input) line() {
    	// Only need to handle Plan 9 format: #line 337 "filename"
    	tok := in.Stack.Next()
    	if tok != scanner.Int {
    		in.expectText("expected line number after #line")
    	}
    	line, err := strconv.Atoi(in.Stack.Text())
    	if err != nil {
    		in.Error("error parsing #line (cannot happen):", err)
    	}
    	tok = in.Stack.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip "Tipp"
        Hier bezieht sich `tokenUrl="token"` auf eine relative URL `token`, die wir noch nicht erstellt haben. Da es sich um eine relative URL handelt, entspricht sie `./token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/extra-models.md

    Wenn es eine Typannotation gewesen wäre, hätten wir auch den vertikalen Trennstrich verwenden können, wie in:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. docs/de/docs/python-types.md

    #### Liste
    
    Definieren wir zum Beispiel eine Variable, die eine `list` von `str` – eine Liste von Strings – sein soll.
    
    === "Python 3.9+"
    
        Deklarieren Sie die Variable mit der gleichen Doppelpunkt-Syntax (`:`).
    
        Als Typ nehmen Sie `list`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top