Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,050 for query1 (0.32 sec)

  1. tests/test_ambiguous_params.py

        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2K bytes
    - Viewed (1)
  2. tests/test_application.py

                        },
                        "summary": "Get Query",
                        "operationId": "get_query_query_get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Query"},
                                "name": "query",
                                "in": "query",
                            }
                        ],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

                cb.query().setTerm_Wildcard(wrapQuery(relatedQueryPager.term));
            }
            if (StringUtil.isNotBlank(relatedQueryPager.queries)) {
                cb.query().setQueries_Wildcard(wrapQuery(relatedQueryPager.queries));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Term_Asc();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

    import org.opensearch.index.query.MoreLikeThisQueryBuilder;
    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.QueryStringQueryBuilder;
    import org.opensearch.index.query.RangeQueryBuilder;
    import org.opensearch.index.query.RegexpQueryBuilder;
    import org.opensearch.index.query.SpanTermQueryBuilder;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

    import org.opensearch.index.query.MoreLikeThisQueryBuilder;
    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.QueryStringQueryBuilder;
    import org.opensearch.index.query.RangeQueryBuilder;
    import org.opensearch.index.query.RegexpQueryBuilder;
    import org.opensearch.index.query.SpanTermQueryBuilder;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

        /**
         * Adds a query to the query map with the specified display key.
         *
         * @param key the display key for the query
         * @param query the query string to add
         */
        public void addQuery(final String key, final String query) {
            queryMap.put(key, query);
        }
    
        /**
         * Returns a string representation of this FacetQueryView object.
         * Includes the title and query map for debugging purposes.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. tests/connpool_test.go

    }
    
    func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.PrepareContext(ctx, query)
    }
    
    func (c *wrapperTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.ExecContext(ctx, query, args...)
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            return BucketOrder.count(false);
        }
    
        /**
         * Adds a query facet to the existing query array.
         * If no queries exist, creates a new array with the provided query.
         *
         * @param s the query string to add as a facet
         */
        public void addQuery(final String s) {
            if (query == null) {
                query = new String[] { s };
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Appends a query string to the query buffer with proper formatting.
         * Handles OR operators and wraps complex queries in parentheses when necessary.
         *
         * @param queryBuf the StringBuilder to append to
         * @param query the query string to append
         */
        protected void appendQuery(final StringBuilder queryBuf, final String query) {
            String q = query;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. tests/test_params_repr.py

    def test_query_repr_str():
        assert repr(Query("teststr")) == "Query(teststr)"
    
    
    def test_query_repr_none():
        assert repr(Query(None)) == "Query(None)"
    
    
    def test_query_repr_ellipsis():
        assert repr(Query(...)) == "Query(PydanticUndefined)"
    
    
    def test_query_repr_number():
        assert repr(Query(1)) == "Query(1)"
    
    
    def test_query_repr_list():
        assert repr(Query([])) == "Query([])"
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top