Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 623 for dich (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/EditForm.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.synonym;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/UploadForm.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.synonym;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class UploadForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 966 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/EditForm.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.mapping;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author nullpos
     */
    public class EditForm extends CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1007 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/UploadForm.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.mapping;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author nullpos
     * @author ma2tani
     */
    public class UploadForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 960 bytes
    - Viewed (0)
  9. 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)
  10. docs/pt/docs/how-to/custom-request-and-route.md

    E uma subclasse de `APIRoute` para usar essa classe de requisição personalizada.
    
    ### Criar uma classe `GzipRequest` personalizada
    
    /// tip | Dica
    
    Isso é um exemplo de brincadeira para demonstrar como funciona, se você precisar de suporte para Gzip, você pode usar o [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank} fornecido.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top