Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1151 - 1160 of over 10,000 for Switch (0.1 seconds)

  1. tests/test_pydantic_v1_error.py

    from fastapi.exceptions import PydanticV1NotSupportedError
    
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", UserWarning)
        from pydantic.v1 import BaseModel
    
    
    def test_raises_pydantic_v1_model_in_endpoint_param() -> None:
        class ParamModelV1(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.post("/param")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. helm-releases/minio-4.0.11.tgz

    install ## ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## you can define additional policies with custom supported actions and resources policies: [] ## writeexamplepolicy policy grants creation or deletion of buckets with name ## starting with example. In addition, grants objects write permissions on buckets starting with ## example. # - name: writeexamplepolicy # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 07 05:41:47 GMT 2022
    - 19.2K bytes
    - Click Count (0)
  3. .github/workflows/contributors.yml

    name: FastAPI People Contributors
    
    on:
      schedule:
        - cron: "0 3 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
            required: false
            default: "false"
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. .github/workflows/sponsors.yml

    name: FastAPI People Sponsors
    
    on:
      schedule:
        - cron: "0 6 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
            required: false
            default: "false"
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. tests/named_polymorphic_test.go

    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	if DB.Model(&hamster).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    		t.Errorf("Hamster's preferred toy should be cleared with Clear")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with non-existing file
        @Test
        public void test_getThumbnailFile_notExists() {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "nonexistent");
    
            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
        // Test getThumbnailFile with blank path
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/Curl.java

        /**
         * Creates a new CurlRequest with the HTTP GET method for the specified URL.
         *
         * @param url the URL to send the GET request to
         * @return a CurlRequest object configured with the GET method and the specified URL
         */
        public static CurlRequest get(final String url) {
            return new CurlRequest(Method.GET, url);
        }
    
        /**
         * Creates a new CurlRequest with the HTTP POST method for the specified URL.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            // Test with modern versions
            System.setProperty("java.version", "21.0.1");
            assertEquals(21, JvmUtil.getJavaVersion());
    
            // Test with early access versions (should fail with NumberFormatException)
            System.setProperty("java.version", "22-ea");
            try {
                JvmUtil.getJavaVersion();
                fail("Should throw NumberFormatException");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  10. docs/features/https.md

    ```
    
    The TLS versions and cipher suites in each spec can change with each release. For example, in OkHttp 2.2 we dropped support for SSL 3.0 in response to the [POODLE](https://googleonlinesecurity.blogspot.ca/2014/10/this-poodle-bites-exploiting-ssl-30.html) attack. And in OkHttp 2.3 we dropped support for [RC4](https://en.wikipedia.org/wiki/RC4#Security). As with your desktop web browser, staying up-to-date with OkHttp is the best way to stay secure.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top