Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 908 for dist (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_security_scopes.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="call_counter")
    def call_counter_fixture():
        return {"count": 0}
    
    
    @pytest.fixture(name="app")
    def app_fixture(call_counter: dict[str, int]):
        def get_db():
            call_counter["count"] += 1
            return f"db_{call_counter['count']}"
    
        def get_user(db: Annotated[str, Depends(get_db)]):
            return "user"
    
        app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  2. cmd/endpoint-ellipses_test.go

    		},
    		// More than 1 ellipses per argument for standalone setup.
    		{
    			"/export{1...10}/disk{1...10}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 10, 0),
    						},
    						{
    							Prefix: "/export",
    							Suffix: "/disk",
    							Seq:    getSequences(1, 10, 0),
    						},
    					},
    				},
    				nil,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    # 类作为依赖项 { #classes-as-dependencies }
    
    在深入探究 **依赖注入** 系统之前,让我们升级之前的例子。
    
    ## 来自前一个例子的`dict` { #a-dict-from-the-previous-example }
    
    在前面的例子中, 我们从依赖项 ("可依赖对象") 中返回了一个 `dict`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    但是后面我们在路径操作函数的参数 `commons` 中得到了一个 `dict`。
    
    我们知道编辑器不能为 `dict` 提供很多支持(比如补全),因为编辑器不知道 `dict` 的键和值类型。
    
    对此,我们可以做的更好...
    
    ## 什么构成了依赖项 { #what-makes-a-dependency }
    
    到目前为止,你看到的依赖项都被声明为函数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. fastapi/applications.py

                    ```
                    """
                ),
            ] = None,
            servers: Annotated[
                list[dict[str, str | Any]] | None,
                Doc(
                    """
                    A `list` of `dict`s with connectivity information to a target server.
    
                    You would use it, for example, if your application is served from
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict;
    
    import java.util.Date;
    
    import org.codelibs.fess.app.web.admin.dict.ListForm;
    
    /**
     * The request body for listing dictionaries.
     */
    public class ListBody extends ListForm {
        /**
         * Default constructor.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict.kuromoji;
    
    import org.codelibs.fess.app.web.admin.dict.kuromoji.EditForm;
    
    /**
     * Request body class for Kuromoji dictionary edit operations in the admin REST API.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict.stopwords;
    
    import org.codelibs.fess.app.web.admin.dict.stopwords.EditForm;
    
    /**
     * Request body class for stop words dictionary edit operations in the admin REST API.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. 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)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

                return new MavenStaxReader().read(is, false, null);
            }
        }
    
        protected void write(Model model, Path dest) throws IOException, XMLStreamException {
            String version = model.getModelVersion();
            Files.createDirectories(dest.getParent());
            try (Writer w = Files.newBufferedWriter(dest)) {
                MavenStaxWriter writer = new MavenStaxWriter();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Un `dict` de l'exemple précédent { #a-dict-from-the-previous-example }
    
    Dans l'exemple précédent, nous renvoyions un `dict` depuis notre dépendance (« dependable ») :
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Mais nous recevons alors un `dict` dans le paramètre `commons` de la fonction de chemin d'accès.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top