Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 828 for bound (0.02 seconds)

  1. tests/test_tutorial/test_handling_errors/test_tutorial002.py

        response = client.get("/items-header/bar")
        assert response.status_code == 404, response.text
        assert response.headers.get("x-error") == "There goes my error"
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/handling-errors.md

    Це схоже на HTTP статус-коди 200 (від 200 до 299). Ці "200" статус-коди означають, що запит пройшов успішно.
    
    Статус-коди в діапазоні 400 означають, що сталася помилка з боку клієнта.
    
    Пам'ятаєте всі ці помилки **404 Not Found** (і жарти про них)?
    
    ## Використання `HTTPException`
    
    Щоб повернути HTTP-відповіді з помилками клієнту, використовуйте `HTTPException`.
    
    ### Імпорт `HTTPException`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/mvn

        if [ -n "$MAVEN_DEBUG_SCRIPT" ]; then
          echo "[DEBUG] Found jvm.config file at: $1" >&2
          echo "[DEBUG] Running JvmConfigParser with Java: $JAVACMD" >&2
          echo "[DEBUG] Parser arguments: $MAVEN_HOME/bin/JvmConfigParser.java $1 $MAVEN_PROJECTBASEDIR" >&2
        fi
    
        # Verify Java is available
        "$JAVACMD" -version >/dev/null 2>&1 || {
          echo "Error: Java not found. Please set JAVA_HOME." >&2
          return 1
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. internal/config/dns/etcd_dns.go

    	"net"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    	clientv3 "go.etcd.io/etcd/client/v3"
    )
    
    // ErrNoEntriesFound - Indicates no entries were found for the given key (directory)
    var ErrNoEntriesFound = errors.New("No entries found for this key")
    
    // ErrDomainMissing - Indicates domain is missing
    var ErrDomainMissing = errors.New("domain is missing")
    
    const etcdPathSeparator = "/"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    	}
    	// Failure case where we detected successfully cross device mounts.
    	{
    		absPaths := []string{"/path/to/1"}
    		if err = checkCrossDevice(absPaths, mountsPath); err == nil {
    			t.Fatal("Expected to fail, but found success")
    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. cmd/batch-expire.go

    			// actions accordingly.
    			// nolint:gocritic
    			if result.Item.IsLatest {
    				var match BatchJobExpireFilter
    				var found bool
    				for _, rule := range r.Rules {
    					if rule.Matches(result.Item, now) {
    						match = rule
    						found = true
    						break
    					}
    				}
    				if !found {
    					continue
    				}
    
    				if prevObj.Name != result.Item.Name {
    					// switch the object
    					pushToExpire()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/InvalidProjectVersionException.java

                String projectId,
                String locationInPom,
                String offendingVersion,
                InvalidVersionSpecificationException cause) {
            return "Invalid version: " + offendingVersion + " found for: " + locationInPom + " in project: " + projectId
                    + ". Reason: " + cause.getMessage();
        }
    
        public String getOffendingVersion() {
            return offendingVersion;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. .github/PULL_REQUEST_TEMPLATE

    This PR will be imported into Gerrit with the title and first
    comment (this text) used to generate the subject and body of
    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Click Count (0)
  9. src/archive/tar/example_test.go

    // Copyright 2013 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.
    
    package tar_test
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

            sourceRoots.asSequence()
                .map { it.resolve(sourceFilePath) to it }
                .firstOrNull { it.first.isFile }
                ?: error("Source file '$sourceFilePath' not found, searched in source roots:\n  - ${sourceRoots.joinToString("\n  - ")}")
    
        private
        val KtFile.normalizedPath: String?
            get() = virtualFile.canonicalPath?.let { normaliseFileSeparators(it) }
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top