Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,107 for quer (0.08 sec)

  1. cmd/signature-v2_test.go

    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    		// Create a request to use.
    		req, err := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if err != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. tests/test_multi_query_errors.py

    from typing import List
    
    from dirty_equals import IsDict
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: List[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tests/test_openapi_examples.py

    
    @app.get("/query_examples/")
    def query_examples(
        data: Union[str, None] = Query(
            default=None,
            examples=[
                "json_schema_query1",
                "json_schema_query2",
            ],
            openapi_examples={
                "Query One": {
                    "summary": "Query One Summary",
                    "description": "Query One Description",
                    "value": "query1",
                },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. tests/preload_test.go

    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    		Preload struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. test-site/app/controllers/Suggest.java

            Map<String, String[]> params = request().queryString();
            String[] callback = params.get("callback");
            String[] query = params.get("query");
            try {
                SuggestIndex suggestIndex = new SuggestIndex();
                SuggestResponse response = suggestIndex.suggest(query[0]);
    
                XContentBuilder builder  = JsonXContent.contentBuilder()
                    .startObject()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFailureUrlCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsFailureUrlCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsFailureUrlCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsLabelTypeCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsLabelTypeCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsLabelTypeCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsThumbnailQueueCB.java

        //                                                                               Query
        //                                                                               =====
        public BsThumbnailQueueCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsThumbnailQueueCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_websockets/test_tutorial002.py

                assert data == "Session cookie or query token value is: fakesession"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: foo"
                message = "Message two"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

                cb.query().setUrlExpr_Wildcard(wrapQuery(boostDocumentRulePager.urlExpr));
            }
            if (StringUtil.isNotBlank(boostDocumentRulePager.boostExpr)) {
                cb.query().setBoostExpr_Wildcard(wrapQuery(boostDocumentRulePager.boostExpr));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top