Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 672 for paso (0.04 sec)

  1. tests/test_openapi_model_description_trim_on_formfeed.py

    class MyModel(BaseModel):
        """
        A model with a form feed character in the title.
        \f
        Text after form feed character.
        """
    
    
    @app.get("/foo")
    def foo(v: MyModel):  # pragma: no cover
        pass
    
    
    client = TestClient(app)
    
    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        openapi_schema = response.json()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 07:46:27 UTC 2025
    - 660 bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unpacking a `dict` { #unpacking-a-dict }
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unpack" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    So, continuing with the `user_dict` from above, writing:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/security/index.md

    /// tip | Consejo
    
    Las siguientes secciones **no son necesariamente "avanzadas"**.
    
    Y es posible que para tu caso de uso, la solución esté en una de ellas.
    
    ///
    
    ## Lee primero el Tutorial { #read-the-tutorial-first }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 786 bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/README.md

    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
      @Override public void log(String message) {
        Timber.tag("OkHttp").d(message);
      }
    });
    ```
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. cmd/object-api-deleteobject_test.go

    		if err != nil && !isErrObjectNotFound(err) {
    			t.Log(oi)
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err)
    			continue
    		}
    
    		result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
    		if err != nil {
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial008c_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 660 bytes
    - Viewed (0)
  8. cmd/metacache-stream_test.go

    /Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "src/compress/bzip2/testdata/pass-random2.bz2", "src/compress/bzip2/testdata/pass-sawtooth.bz2", "src/compress/bzip2/testdata/random.data.bz2", "src/compress/flate/", "src/compress/flate/deflate.go", "src/compress/flate/deflate_test.go",...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. cmd/object-api-getobjectinfo_test.go

    	}
    	testCases := []struct {
    		bucketName string
    		objectName string
    
    		// Expected output of GetObjectInfo.
    		result ObjectInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http::@/www.example.com
    http:a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http:/a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http://a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http://******@****.***  s:http u:www. h:pple.com p:/
    http:@:www.example.com
    http:/@:www.example.com
    http://@:www.example.com
    http://:@www.example.com  s:http pass: h:www.example.com p:/
    
    #Others
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top