Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 698 for idprefix (0.05 seconds)

  1. tests/test_additional_response_extra.py

    router = APIRouter()
    
    sub_router = APIRouter()
    
    app = FastAPI()
    
    
    @sub_router.get("/")
    def read_item():
        return {"id": "foo"}
    
    
    router.include_router(sub_router, prefix="/items")
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         */
        String getMailSmtpServerMainHostAndPort();
    
        /**
         * Get the value for the key 'mail.subject.test.prefix'. <br>
         * The value is, e.g. [Test] <br>
         * comment: The prefix of subject to show test environment or not
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getMailSubjectTestPrefix();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("prefix-test", execJob.testGetLogName("prefix"));
    
            // Test with suffix
            execJob.logSuffix = "suffix";
            assertEquals("prefix-test-suffix", execJob.testGetLogName("prefix"));
    
            // Test with different execute type
            execJob.setExecuteType("crawler");
            assertEquals("prefix-crawler-suffix", execJob.testGetLogName("prefix"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Streams.java

            // we can drill down to exactly the smallest nonempty spliterator
            while (true) {
              Spliterator<T> prefix = spliterator.trySplit();
              if (prefix == null || prefix.getExactSizeIfKnown() == 0) {
                break;
              } else if (spliterator.getExactSizeIfKnown() == 0) {
                spliterator = prefix;
                break;
              }
            }
    
            // spliterator is known to be nonempty now
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  5. docs_src/graphql_/tutorial001_py310.py

        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQLRouter(schema)
    
    app = FastAPI()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 424 bytes
    - Click Count (0)
  6. fastapi/routing.py

                default=default,
                lifespan=lifespan_context,
            )
            if prefix:
                assert prefix.startswith("/"), "A path prefix must start with '/'"
                assert not prefix.endswith("/"), (
                    "A path prefix must not end with '/', as the routes will start with '/'"
                )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/rule_test.go

    	                    </Rule>`,
    			expectedErr: errInvalidRuleID,
    		},
    		{ // Rule with empty ID
    			inputXML: `<Rule>
    							<ID></ID>
    							<Filter><Prefix></Prefix></Filter>
    							<Expiration>
    								<Days>365</Days>
    							</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    			expectedErr: nil,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  8. tests/test_router_prefix_with_template.py

    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

            boolean projectHasYamlRestTests = skipHasRestTestCheck || projectHasYamlRestTests();
            if (include.get().isEmpty() == false || projectHasYamlRestTests) {
                patternSet.setIncludes(include.get().stream().map(prefix -> prefix + "*/**").collect(Collectors.toList()));
                coreFileTree = configToFileTree.apply(config).matching(patternSet); // directory on disk
            }
    
            FileCollection fileCollection = additionalConfig == null
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  10. cmd/storage-rest_test.go

    	}
    
    	testCases := []struct {
    		volumeName     string
    		prefix         string
    		expectedResult []string
    		expectErr      bool
    	}{
    		{"foo", "path", []string{"to/"}, false},
    		// prefix not found error.
    		{"foo", "nodir", nil, true},
    	}
    
    	for i, testCase := range testCases {
    		result, err := storage.ListDir(t.Context(), "", testCase.volumeName, testCase.prefix, -1)
    		expectErr := (err != nil)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top