Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 697 for dice (0.03 sec)

  1. docs/en/docs/advanced/response-cookies.md

    And then you can set cookies in that *temporal* response object.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. scripts/deploy_docs_status.py

            target_url=run_url,
        )
    
        files = list(use_pr.get_files())
        docs_files = [f for f in files if f.filename.startswith("docs/")]
    
        deploy_url = settings.deploy_url.rstrip("/")
        lang_links: dict[str, list[str]] = {}
        for f in docs_files:
            match = re.match(r"docs/([^/]+)/docs/(.*)", f.filename)
            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.kuromoji;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class KuromojiItemTest extends UnitFessTestCase {
        public void test_new1() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/body.md

    ```Python hl_lines="5-9"
    {!> ../../docs_src/body/tutorial001_py310.py!}
    ```
    
    ////
    
    🎏 🕐❔ 📣 🔢 🔢, 🕐❔ 🏷 🔢 ✔️ 🔢 💲, ⚫️ 🚫 ✔. ⏪, ⚫️ ✔. ⚙️ `None` ⚒ ⚫️ 📦.
    
    🖼, 👉 🏷 🔛 📣 🎻 "`object`" (⚖️ 🐍 `dict`) 💖:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ... `description` & `tax` 📦 (⏮️ 🔢 💲 `None`), 👉 🎻 "`object`" 🔜 ☑:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body.md

    * Den Requestbody als JSON lesen.
    * Die entsprechenden Typen konvertieren (falls nötig).
    * Diese Daten validieren.
        * Wenn die Daten ungültig sind, einen klar lesbaren Fehler zurückgeben, der anzeigt, wo und was die inkorrekten Daten waren.
    * Ihnen die erhaltenen Daten im Parameter `item` übergeben.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.synonym;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class SynonymItemTest extends UnitFessTestCase {
    
        public void test_new1() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/templates.md

    ///
    
    ## ✍ 📄
    
    ⤴️ 👆 💪 ✍ 📄 `templates/item.html` ⏮️:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ⚫️ 🔜 🎦 `id` ✊ ⚪️➡️ "🔑" `dict` 👆 🚶‍♀️:
    
    ```Python
    {"request": request, "id": id}
    ```
    
    ## 📄 & 🎻 📁
    
    & 👆 💪 ⚙️ `url_for()` 🔘 📄, & ⚙️ ⚫️, 🖼, ⏮️ `StaticFiles` 👆 📌.
    
    ```jinja hl_lines="4"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/request-forms.md

    Com `Form` você pode declarar os mesmos metadados e validação que com `Body` (e `Query`, `Path`, `Cookie`).
    
    /// info | "Informação"
    
    `Form` é uma classe que herda diretamente de `Body`.
    
    ///
    
    /// tip | "Dica"
    
    Para declarar corpos de formulário, você precisa usar `Form` explicitamente, porque sem ele os parâmetros seriam interpretados como parâmetros de consulta ou parâmetros de corpo (JSON).
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/response-headers.md

    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    ```Python hl_lines="1  7-8"
    {!../../docs_src/response_headers/tutorial002.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取头部(也包括cookies和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004_an_py39.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top