Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,067 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. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Set.of("QUERY1", "QUERY2"), //
                    buildQuery("QUERY1 QUERY2"));
            assertQuery(
                    functionScoreQuery(
                            andQuery(simpleQuery("QUERY1", titleBoost, contentBoost), simpleQuery("QUERY2", titleBoost, contentBoost))),
                    Map.of("_default", List.of("QUERY1", "QUERY2")), //
                    Set.of("QUERY1", "QUERY2"), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        }
    
        @Test
        public void searchTestWithBoost() throws Exception {
            String field = "content";
            String query1 = "java";
            String query2 = "sample";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query1 + "^1000 OR " + field + ":" + query2);
            params.put("num", "100");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tests/test_openapi_examples.py

                                "examples": {
                                    "Query One": {
                                        "summary": "Query One Summary",
                                        "description": "Query One Description",
                                        "value": "query1",
                                    },
                                    "Query Two": {"value": "query2"},
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top