Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs_src/query_params_str_validations/tutorial010_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None],
            Query(
                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 635 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

            if (webAuthenticationPager.id != null) {
                cb.query().docMeta().setId_Equal(webAuthenticationPager.id);
            }
            // TODO Long, Integer, String supported only.
            // setup condition
            cb.query().addOrderBy_Hostname_Asc();
            cb.query().addOrderBy_WebConfigId_Asc();
    
            // search
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top