Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 513 for dictId (0.05 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.KuromojiCSVUtil;
    import org.dbflute.optional.OptionalEntity;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs_src/body_updates/tutorial002_py310.py

    
    @app.patch("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        stored_item_data = items[item_id]
        stored_item_model = Item(**stored_item_data)
        update_data = item.dict(exclude_unset=True)
        updated_item = stored_item_model.copy(update=update_data)
        items[item_id] = jsonable_encoder(updated_item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1010 bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/sql-databases.md

    ///
    
    /// tip
    
    โ†ฉ๏ธ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”  ๐Ÿ‡จ๐Ÿ‡ป โŒ `Item` & ๐Ÿ‘‚ ๐Ÿ”  1๏ธโƒฃ ๐Ÿ‘ซ โšช๏ธโžก๏ธ Pydantic *๐Ÿท*, ๐Ÿ‘ฅ ๐Ÿญ `dict` โฎ๏ธ Pydantic *๐Ÿท*'โ“‚ ๐Ÿ“Š โฎ๏ธ:
    
    `item.dict()`
    
     & โคด๏ธ ๐Ÿ‘ฅ ๐Ÿšถโ€โ™€๏ธ `dict`'โ“‚ ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ ๐Ÿ‡จ๐Ÿ‡ป โŒ ๐Ÿ‡ธ๐Ÿ‡ฒ `Item`, โฎ๏ธ:
    
    `Item(**item.dict())`
    
     & โคด๏ธ ๐Ÿ‘ฅ ๐Ÿšถโ€โ™€๏ธ โž• ๐Ÿ‡จ๐Ÿ‡ป โŒ `owner_id` ๐Ÿ‘ˆ ๐Ÿšซ ๐Ÿšš Pydantic *๐Ÿท*, โฎ๏ธ:
    
    `Item(**item.dict(), owner_id=user_id)`
    
    ///
    
    ## ๐Ÿ‘‘ **FastAPI** ๐Ÿ“ฑ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. docs/em/docs/how-to/custom-request-and-route.md

    ```Python hl_lines="18-26"
    {!../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    /// note | "๐Ÿ“ก โ„น"
    
    `Request` โœ”๏ธ `request.scope` ๐Ÿ”ข, ๐Ÿ‘ˆ ๐Ÿ `dict` โš— ๐Ÿ—ƒ ๐Ÿ”— ๐Ÿ“จ.
    
     `Request` โœ”๏ธ `request.receive`, ๐Ÿ‘ˆ ๐Ÿ”ข "๐Ÿ“จ" ๐Ÿ’ช ๐Ÿ“จ.
    
     `scope` `dict` & `receive` ๐Ÿ”ข ๐Ÿ‘ฏโ€โ™‚๏ธ ๐Ÿ• ๐Ÿ”ซ ๐Ÿ”ง.
    
     & ๐Ÿ‘ˆ 2๏ธโƒฃ ๐Ÿ‘œ, `scope` & `receive`, โšซ๏ธโ” ๐Ÿ’ช โœ ๐Ÿ†• `Request` ๐Ÿ‘.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. fastapi/exceptions.py

    from typing import Any, Dict, Optional, Sequence, Type, Union
    
    from pydantic import BaseModel, create_model
    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    from typing_extensions import Annotated, Doc
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. docs_src/body_updates/tutorial002.py

    
    @app.patch("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        stored_item_data = items[item_id]
        stored_item_model = Item(**stored_item_data)
        update_data = item.dict(exclude_unset=True)
        updated_item = stored_item_model.copy(update=update_data)
        items[item_id] = jsonable_encoder(updated_item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  7. docs_src/extra_models/tutorial002_py310.py

    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 792 bytes
    - Viewed (0)
  8. tests/test_typing_python39.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
  9. docs/es/docs/advanced/response-change-status-code.md

    ```Python hl_lines="1  9  12"
    {!../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    Y luego puedes retornar cualquier objeto que necesites, como normalmente lo harรญas (un `dict`, un modelo de base de datos, etc).
    
    Y si declaraste un `response_model`, aรบn se usarรก para filtrar y convertir el objeto que retornaste.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/testing.md

    ใƒ†ใ‚นใƒˆใงใ‚‚ๅŒใ˜ใ“ใจใ‚’่กŒใ„ใพใ™ใ€‚
    
    ไพ‹ใˆใฐ:
    
    * *ใƒ‘ใ‚น* ใพใŸใฏ *ใ‚ฏใ‚จใƒช* ใƒ‘ใƒฉใƒกใƒผใ‚ฟใ‚’ๆธกใ™ใซใฏใ€ใใ‚Œใ‚’URL่‡ชไฝ“ใซ่ฟฝๅŠ ใ—ใพใ™ใ€‚
    * JSONใƒœใƒ‡ใ‚ฃใ‚’ๆธกใ™ใซใฏใ€Pythonใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆ (ไพ‹: `dict`) ใ‚’ `json` ใƒ‘ใƒฉใƒกใƒผใ‚ฟใซๆธกใ—ใพใ™ใ€‚
    * JSONใฎไปฃใ‚ใ‚Šใซ *ใƒ•ใ‚ฉใƒผใƒ ใƒ‡ใƒผใ‚ฟ* ใ‚’้€ไฟกใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚‹ๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ `data` ใƒ‘ใƒฉใƒกใƒผใ‚ฟใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚
    * *ใƒ˜ใƒƒใƒ€ใƒผ* ใ‚’ๆธกใ™ใซใฏใ€`headers` ใƒ‘ใƒฉใƒกใƒผใ‚ฟใซ `dict` ใ‚’ๆธกใ—ใพใ™ใ€‚
    * *cookies* ใฎๅ ดๅˆใ€ `cookies` ใƒ‘ใƒฉใƒกใƒผใ‚ฟใซ `dict` ใงใ™ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top