Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 498 for Bar (0.01 seconds)

  1. docs_src/dependencies/tutorial003_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 603 bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/query-params-str-validations.md

    Тоді, у випадку URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    ви отримаєте кілька значень `q` query параметрів (`foo` і `bar`) у вигляді Python `list` у вашій функції операції шляху, у параметрі функції `q`.
    
    Отже, відповідь на цей URL буде:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/query-params-str-validations.md

    Тогда при таком URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы получите множественные значения *query-параметров* `q` (`foo` и `bar`) в виде Python-`list` внутри вашей *функции-обработчика пути*, в *параметре функции* `q`.
    
    Таким образом, ответ на этот URL будет:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  4. docs_src/query_params_str_validations/tutorial012_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 192 bytes
    - Click Count (0)
  5. docs_src/query_params_str_validations/tutorial005_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(default="fixedquery", min_length=3)):
        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: Thu Feb 12 13:19:43 GMT 2026
    - 276 bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertThat(e.escape("safe with spaces")).isEqualTo("safe%20with%20spaces");
        assertThat(e.escape("foo@bar.com")).isEqualTo("foo@bar.com");
      }
    
      private UrlEscaperTesting() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar}</td>
         * <td>{@literal foo.bar}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar_baz}</td>
         * <td>{@literal foo.bar.baz}</td>
         * </tr>
         * </table>
         *
         * @param beanDelimiter
         *            The delimiter for JavaBeans
         * @return This instance itself
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. docs/es/docs/_llm-test.md

    Las pruebas:
    
    ## Fragmentos de código { #code-snippets }
    
    //// tab | Prueba
    
    Este es un fragmento de código: `foo`. Y este es otro fragmento de código: `bar`. Y otro más: `baz quux`.
    
    ////
    
    //// tab | Info
    
    El contenido de los fragmentos de código debe dejarse tal cual.
    
    Consulta la sección `### Content of code snippets` en el prompt general en `scripts/translate.py`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  9. docs/fr/docs/_llm-test.md

    Les tests :
    
    ## Extraits de code { #code-snippets }
    
    //// tab | Test
    
    Ceci est un extrait de code : `foo`. Et ceci est un autre extrait de code : `bar`. Et encore un autre : `baz quux`.
    
    ////
    
    //// tab | Info
    
    Le contenu des extraits de code doit être laissé tel quel.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. docs/zh/docs/_llm-test.md

    测试如下:
    
    ## 代码片段 { #code-snippets }
    
    //// tab | 测试
    
    这是一个代码片段:`foo`。这是另一个代码片段:`bar`。还有一个:`baz quux`。
    
    ////
    
    //// tab | 信息
    
    代码片段的内容应保持不变。
    
    参见 `scripts/translate.py` 中通用提示的 `### Content of code snippets` 部分。
    
    ////
    
    ## 引号 { #quotes }
    
    //// tab | 测试
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top