Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,169 for Query (0.15 seconds)

  1. docs_src/query_params_str_validations/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(max_length=50)] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 309 bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Set 'opCode' field in superclass to a value other than QUERY (0)
            Field opCodeField = NameServicePacket.class.getDeclaredField("opCode");
            opCodeField.setAccessible(true);
            opCodeField.set(nameQueryResponse, 7); // WACK opCode, which is not QUERY (0)
    
            // Ensure 'resultCode' is 0 for this test to isolate opCode condition
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsKeyMatchCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsKeyMatchCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsKeyMatchCQ doGetConditionQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            // Add existing file type query
            facetQueryView.addQuery("existing_pdf", "filetype:pdf");
            facetQueryView.addQuery("label1", "filetype:html");
    
            facetQueryView.init();
    
            Map<String, String> queryMap = facetQueryView.getQueryMap();
    
            // Should not duplicate existing pdf query
            assertEquals("filetype:pdf", queryMap.get("existing_pdf"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            Throwable cause = queryParseException.getCause();
            assertNotNull(cause);
            assertTrue(cause instanceof ParseException);
            assertEquals(parseException, cause);
            assertEquals("Query parsing failed", cause.getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. docs/es/llm-prompt.md

    * path operation: path operation (do not translate to "operación de ruta")
    * path (as in URL path): path (do not translate to "ruta")
    * query (as in URL query): query (do not translate to "consulta")
    * cookie (as in HTTP cookie): cookie
    * header (as in HTTP header): header
    * form (as in HTML form): formulario
    * type checks: chequeo de tipos
    * parse: parse
    * parsing: parsing
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. tests/query_test.go

    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    		var last User
    		if err := DB.Where("name = ?", "find").Last(&last).Error; err != nil {
    			t.Errorf("errors happened when query last: %v", err)
    		} else {
    			CheckUser(t, last, users[2])
    		}
    	})
    
    	var all []User
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (crawlingInfoPager.id != null) {
                cb.query().docMeta().setId_Equal(crawlingInfoPager.id);
            }
            // TODO Long, Integer, String supported only.
            if (StringUtil.isNotBlank(crawlingInfoPager.sessionId)) {
                cb.query().setSessionId_Match(crawlingInfoPager.sessionId);
            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. tests/test_param_include_in_schema.py

    import pytest
    from fastapi import Cookie, FastAPI, Header, Path, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.get("/hidden_cookie")
    async def hidden_cookie(
        hidden_cookie: str | None = Cookie(default=None, include_in_schema=False),
    ):
        return {"hidden_cookie": hidden_cookie}
    
    
    @app.get("/hidden_header")
    async def hidden_header(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         * This optional field helps track which result position was clicked.
         */
        public Integer order;
    
        // for error page
    
        /**
         * Query string parameter for error page fallback.
         * Contains the original search query if redirection fails.
         */
        public String q;
    
        /**
         * Number of results parameter for error page fallback.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top