Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,211 for Commons (0.05 sec)

  1. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    {!> ../../docs_src/dependencies/tutorial002_py310.py!}
    ```
    
    ////
    
    **FastAPI** ๐Ÿค™ `CommonQueryParams` ๐ŸŽ“. ๐Ÿ‘‰ โœ "๐Ÿ‘" ๐Ÿ‘ˆ ๐ŸŽ“ & ๐Ÿ‘ ๐Ÿ”œ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”ข `commons` ๐Ÿ‘† ๐Ÿ”ข.
    
    ## ๐Ÿ†Ž โœ ๐Ÿ†š `Depends`
    
    ๐Ÿ‘€ โ” ๐Ÿ‘ฅ โœ `CommonQueryParams` ๐Ÿ• ๐Ÿ”› ๐Ÿ“Ÿ:
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ๐Ÿ `CommonQueryParams`,:
    
    ```Python
    ... = Depends(CommonQueryParams)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.pool;
    
    import org.apache.commons.pool2.BasePooledObjectFactory;
    import org.apache.commons.pool2.PooledObject;
    import org.apache.commons.pool2.impl.DefaultPooledObject;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    
    import jakarta.annotation.Resource;
    
    /**
     *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs_src/dependency_testing/tutorial001_py310.py

        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. docs_src/dependency_testing/tutorial001_an.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. docs/LICENSE

    =======================================================================
    
    Creative Commons Corporation ("Creative Commons") is not a law firm and
    does not provide legal services or legal advice. Distribution of
    Creative Commons public licenses does not create a lawyer-client or
    other relationship. Creative Commons makes its licenses and related
    information available on an "as-is" basis. Creative Commons gives no
    warranties regarding its licenses, any material licensed under their
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

     */
    package org.codelibs.fess.util;
    
    import static org.apache.commons.io.FileUtils.ONE_EB_BI;
    import static org.apache.commons.io.FileUtils.ONE_GB_BI;
    import static org.apache.commons.io.FileUtils.ONE_KB_BI;
    import static org.apache.commons.io.FileUtils.ONE_MB_BI;
    import static org.apache.commons.io.FileUtils.ONE_PB_BI;
    import static org.apache.commons.io.FileUtils.ONE_TB_BI;
    
    import java.math.BigDecimal;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs_src/dependency_testing/tutorial001.py

    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. docs_src/dependency_testing/tutorial001_an_py310.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

    import java.util.regex.Pattern;
    
    import org.apache.commons.io.ByteOrderMark;
    import org.apache.commons.io.input.BOMInputStream;
    import org.apache.commons.text.translate.AggregateTranslator;
    import org.apache.commons.text.translate.CharSequenceTranslator;
    import org.apache.commons.text.translate.EntityArrays;
    import org.apache.commons.text.translate.LookupTranslator;
    import org.apache.commons.text.translate.NumericEntityUnescaper;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python hl_lines="19"
    {!> ../../docs_src/dependencies/tutorial002.py!}
    ```
    
    ////
    
    **FastAPI** ่ฐƒ็”จ `CommonQueryParams` ็ฑปใ€‚่ฟ™ๅฐ†ๅˆ›ๅปบ่ฏฅ็ฑป็š„ไธ€ไธช "ๅฎžไพ‹"๏ผŒ่ฏฅๅฎžไพ‹ๅฐ†ไฝœไธบๅ‚ๆ•ฐ `commons` ่ขซไผ ้€’็ป™ไฝ ็š„ๅ‡ฝๆ•ฐใ€‚
    
    ## ็ฑปๅž‹ๆณจ่งฃ vs `Depends`
    
    ๆณจๆ„๏ผŒๆˆ‘ไปฌๅœจไธŠ้ข็š„ไปฃ็ ไธญ็ผ–ๅ†™ไบ†ไธคๆฌก`CommonQueryParams`๏ผš
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ๆœ€ๅŽ็š„ `CommonQueryParams`:
    
    ```Python
    ... = Depends(CommonQueryParams)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top