Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 2,633 for paths (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/body-multiple-params.md

    # Body - 多個參數 { #body-multiple-parameters }
    
    現在我們已經知道如何使用 `Path` 與 `Query`,接下來看看更進階的請求主體(request body)宣告用法。
    
    ## 混用 `Path`、`Query` 與 Body 參數 { #mix-path-query-and-body-parameters }
    
    首先,當然你可以自由混用 `Path`、`Query` 與請求 Body 參數的宣告,**FastAPI** 會知道該怎麼做。
    
    你也可以將 Body 參數宣告為可選,方法是將預設值設為 `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | 注意
    
    請注意,在此情況下,從 body 取得的 `item` 是可選的,因為它的預設值是 `None`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. ci/official/envs/windows_x86_2022

    # via a symlink.
    # Helpful since the internal CI utilizes a T:\ drive, part of which is mounted
    # to the container, and would result in C:\<path> != T:\<path> mismatches,
    # when using variables like `TFCI_OUTPUT_DIR` in `docker exec commands,
    # requiring conditional path adjustments throughout the CI scripts.
    # Note: This does not work for `docker cp` commands.
    # For a little more detail, see:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 06 19:44:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

                len = 0;
            }
    
            if ((pipe.pipeType & SmbNamedPipe.PIPE_TYPE_CALL) == SmbNamedPipe.PIPE_TYPE_CALL) {
                pipe.send(new TransWaitNamedPipe(path), new TransWaitNamedPipeResponse());
                pipe.send(new TransCallNamedPipe(path, b, off, len), new TransCallNamedPipeResponse(pipe));
            } else if ((pipe.pipeType & SmbNamedPipe.PIPE_TYPE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_TRANSACT) {
                ensureOpen();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
            String expectedString =
                    "DfsReferral[pathConsumed=20,server=testServer,share=testShare,link=testLink,path=/test/path,ttl=300,expiration=1234567890,resolveHashes=true]";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. internal/config/dns/dns_path.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dns
    
    import (
    	"path"
    	"strings"
    
    	"github.com/miekg/dns"
    )
    
    // msgPath converts a domainname to an etcd path. If s looks like service.staging.skydns.local.,
    // the resulting key will be /skydns/local/skydns/staging/service .
    func msgPath(s, prefix string) string {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial001_py310 import app
    from tests.utils import workdir_lock
    
    client = TestClient(app)
    
    
    @workdir_lock
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 635 bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                    .build();
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull ProtoSession session,
                @Nullable Path installationSettingsPath,
                @Nullable Path projectSettingsPath,
                @Nullable Path userSettingsPath) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .installationSettingsSource(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/pathmap/SearchForm.java

    /**
     * The search form for Path Map.
     */
    public class SearchForm {
    
        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The regular expression pattern field for path mapping.
         */
        public String regex;
    
        /**
         * The replacement string field for path mapping.
         */
        public String replacement;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
                trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);
                String result = trans2QueryPathInfo.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top