Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 603 for pict (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/CreateForm.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.app.web.admin.dict.protwords;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/SearchForm.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.app.web.admin.dict.protwords;
    
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author ma2tani
     */
    public class SearchForm {
    
        @Required
        public String dictId;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 822 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/DownloadForm.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.app.web.admin.dict.kuromoji;
    
    import org.lastaflute.web.validation.Required;
    
    public class DownloadForm {
        @Required
        public String dictId;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 795 bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

    import org.codelibs.fess.app.service.KuromojiService;
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.admin.dict.AdminDictAction;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.app.web.base.FessBaseAction;
    import org.codelibs.fess.dict.kuromoji.KuromojiItem;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. 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)
Back to top