Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 1,992 for Fastapi (0.06 sec)

  1. tests/test_include_router_defaults_overrides.py

    import warnings
    
    import pytest
    from fastapi import APIRouter, Depends, FastAPI, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    class ResponseLevel0(JSONResponse):
        media_type = "application/x-level-0"
    
    
    class ResponseLevel1(JSONResponse):
        media_type = "application/x-level-1"
    
    
    class ResponseLevel2(JSONResponse):
        media_type = "application/x-level-2"
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/extra-models.md

    ///
    
    ## Reducir duplicación { #reduce-duplication }
    
    Reducir la duplicación de código es una de las ideas centrales en **FastAPI**.
    
    Ya que la duplicación de código incrementa las posibilidades de bugs, problemas de seguridad, problemas de desincronización de código (cuando actualizas en un lugar pero no en los otros), etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/body-updates.md

    つまり、更新したいデータだけを送信して、残りはそのままにしておくことができます。
    
    /// note | 備考
    
    `PATCH`は`PUT`よりもあまり使われておらず、知られていません。
    
    また、多くのチームは部分的な更新であっても`PUT`だけを使用しています。
    
    **FastAPI** はどんな制限も課けていないので、それらを使うのは **自由** です。
    
    しかし、このガイドでは、それらがどのように使用されることを意図しているかを多かれ少なかれ、示しています。
    
    ///
    
    ### Pydanticの`exclude_unset`パラメータの使用
    
    部分的な更新を受け取りたい場合は、Pydanticモデルの`.dict()`の`exclude_unset`パラメータを使用すると非常に便利です。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/extra-models.md

    )
    ```
    
    /// warning | 경고
    
    추가적으로 제공된 함수 `fake_password_hasher`와 `fake_save_user`는 데이터 흐름을 시연하기 위한 예제일 뿐이며, 실제 보안을 제공하지 않습니다.
    
    ///
    
    ## 중복 줄이기
    
    코드 중복을 줄이는 것은 **FastAPI**의 핵심 아이디어 중 하나입니다.
    
    코드 중복은 버그, 보안 문제, 코드 비동기화 문제(한 곳은 업데이트되었지만 다른 곳은 업데이트되지 않는 문제) 등의 가능성을 증가시킵니다.
    
    그리고 이 모델들은 많은 데이터를 공유하면서 속성 이름과 타입을 중복하고 있습니다.
    
    더 나은 방법이 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    /// warning | 注意
    
    サポートしている追加機能は、データの可能な流れをデモするだけであり、もちろん本当のセキュリティを提供しているわけではありません。
    
    ///
    
    ## 重複の削減
    
    コードの重複を減らすことは、**FastAPI**の中核的なアイデアの1つです。
    
    コードの重複が増えると、バグやセキュリティの問題、コードの非同期化問題(ある場所では更新しても他の場所では更新されない場合)などが発生する可能性が高くなります。
    
    そして、これらのモデルは全てのデータを共有し、属性名や型を重複させています。
    
    もっと良い方法があります。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/test_path.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_text_get():
        response = client.get("/text")
        assert response.status_code == 200, response.text
        assert response.json() == "Hello World"
    
    
    def test_nonexistent():
        response = client.get("/nonexistent")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Not Found"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 20.5K bytes
    - Viewed (1)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class TestApi {
    
        Session session;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Inject
        org.apache.maven.project.ProjectBuilder projectBuilder;
    
        @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/resources/fess_score.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="scoreUpdater" class="org.codelibs.fess.score.ScoreUpdater">
    	</component>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 28 08:57:57 UTC 2019
    - 262 bytes
    - Viewed (0)
  9. src/main/resources/my_creator.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<include path="convention.xml"/>
        <component name="pagerCreator" class="org.codelibs.fess.mylasta.creator.PagerCreator"/>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 03 14:03:30 UTC 2015
    - 296 bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/resources/app.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" 
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
        <include path="crawler_opensearch.xml"/>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 216 bytes
    - Viewed (0)
Back to top