Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,210 for dpath (0.03 sec)

  1. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.xml

        <!--<ruleset-ref path='rulesets/basic.xml'>-->
            <!--<exclude name='ExplicitHashSetInstantiation'/>-->
            <!--<exclude name='ExplicitCallToAndMethod'/>-->
            <!--<exclude name='ExplicitCallToOrMethod'/>-->
        <!--</ruleset-ref>-->
        <ruleset-ref path='rulesets/braces.xml'/>
        <ruleset-ref path='rulesets/imports.xml'>
            <exclude name="ImportFromSunPackages"/>
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/templates.md

    You can also use `url_for()` inside of the template, it takes as arguments the same arguments that would be used by your *path operation function*.
    
    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...will generate a link to the same URL that would be handled by the *path operation function* `read_item(id=id)`.
    
    For example, with an ID of `42`, this would render:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. cmd/utils.go

    	path = strings.TrimPrefix(path, SlashSeparator)
    	m := strings.Index(path, SlashSeparator)
    	if m < 0 {
    		return path, ""
    	}
    	return path[:m], path[m+len(SlashSeparator):]
    }
    
    func path2BucketObject(s string) (bucket, prefix string) {
    	return path2BucketObjectWithBasePath("", s)
    }
    
    // cloneMSS will clone a map[string]string.
    // If input is nil an empty map is returned, not nil.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py

    
    @needs_py310
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py

                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    @needs_py39
    def test_openapi_schema():
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/dependencies/global-dependencies.md

    # 全局依赖项
    
    有时,我们要为整个应用添加依赖项。
    
    通过与定义[*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 类似的方式,可以把依赖项添加至整个 `FastAPI` 应用。
    
    这样一来,就可以为所有*路径操作*应用该依赖项:
    
    ```Python hl_lines="15"
    {!../../docs_src/dependencies/tutorial012.py!}
    ```
    
    [*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 一章的思路均适用于全局依赖项, 在本例中,这些依赖项可以用于应用中的所有*路径操作*。
    
    ## 为一组路径操作定义依赖项
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 955 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_params/test_tutorial004.py

                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "File Path", "type": "string"},
                                "name": "file_path",
                                "in": "path",
                            }
                        ],
                    }
                }
            },
            "components": {
                "schemas": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new ProtwordsFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new SynonymFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. internal/config/notify/help.go

    		config.HelpKV{
    			Key:         target.KafkaClientTLSCert,
    			Description: "path to client certificate for mTLS auth",
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.KafkaClientTLSKey,
    			Description: "path to client key for mTLS auth",
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top