Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 972 for QUERY (0.03 sec)

  1. docs/ru/docs/tutorial/query-params-str-validations.md

    ```
    
    Но у нас query-параметр определён как `Query`. Например:
    
    //// tab | Annotated
    
    ```Python
    q: Annotated[Union[str, None], Query(min_length=3)] = None
    ```
    
    ////
    
    //// tab | без Annotated
    
    ```Python
    q: Union[str, None] = Query(default=None, min_length=3)
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params-str-validations.md

    ///
    
    ## Query-Parameter-Liste / Mehrere Werte
    
    Wenn Sie einen Query-Parameter explizit mit `Query` auszeichnen, können Sie ihn auch eine Liste von Werten empfangen lassen, oder anders gesagt, mehrere Werte.
    
    Um zum Beispiel einen Query-Parameter `q` zu deklarieren, der mehrere Male in der URL vorkommen kann, schreiben Sie:
    
    //// tab | Python 3.10+
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    Imagine que você queira que um parâmetro tenha o nome `item-query`.
    
    Desta maneira:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Mas o nome `item-query` não é um nome de váriavel válido no Python.
    
    O que mais se aproxima é `item_query`.
    
    Mas ainda você precisa que o nome seja exatamente `item-query`...
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/query-params-str-validations.md

    ```
    
    ////
    
    👥 ✔️ ❎ 🔢 💲 `None` 🔢 ⏮️ `Query()`, 👥 💪 🔜 ⚒ 🔢 💲 ⏮️ 🔢 `Query(default=None)`, ⚫️ 🍦 🎏 🎯 ⚖ 👈 🔢 💲.
    
    :
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    & 🐍 3️⃣.1️⃣0️⃣ & 🔛:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tests/test_query.py

                        "msg": "value is not a valid integer",
                        "type": "type_error.integer",
                    }
                ]
            }
        )
    
    
    def test_query_frozenset_query_1_query_1_query_2():
        response = client.get("/query/frozenset/?query=1&query=1&query=2")
        assert response.status_code == 200
        assert response.json() == "1,2"
    
    
    def test_query_list():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tests/main.py

        return item_id
    
    
    @app.get("/query")
    def get_query(query):
        return f"foo bar {query}"
    
    
    @app.get("/query/optional")
    def get_query_optional(query=None):
        if query is None:
            return "foo bar"
        return f"foo bar {query}"
    
    
    @app.get("/query/int")
    def get_query_type(query: int):
        return f"foo bar {query}"
    
    
    @app.get("/query/int/optional")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/lib/variables.libsonnet

      cluster:
        var.query.new('cluster')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'cluster',
          'process_cpu_seconds_total',
        )
        + var.query.withRefresh('time')
        + var.query.selectionOptions.withMulti()
        + var.query.selectionOptions.withIncludeAll(),
    
      pod:
        var.query.new('pod')
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

    import org.opensearch.core.action.ActionListener;
    import org.opensearch.core.common.Strings;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    import org.opensearch.search.SearchHit;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top