Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 2,145 for dpath (0.04 seconds)

  1. docs_src/path_params_numeric_validations/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[Union[str, None], Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 388 bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        /**
         * Attempt to reconnect a handle
         * @param path the file path
         * @param cause the original exception that triggered reconnection
         * @return a future that completes with the reconnected handle info or fails
         */
        public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {
            HandleInfo info = handleManager.getHandleForReconnect(path);
    
            if (info == null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

         */
        protected void saveModifications(UpgradeContext context, Map<Path, Document> pomMap) {
            context.info("");
            context.info("Saving modified POMs...");
    
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
                Document document = entry.getValue();
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                    }
    
                    final Path path = env.configDir().resolve(filePath);
    
                    try {
                        final File file = path.toFile();
                        if (file.exists()) {
                            reloadableFile = file;
                        }
                        reader = new BufferedReader(new InputStreamReader(path.toUri().toURL().openStream(), StandardCharsets.UTF_8));
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  5. internal/disk/stat_linux.go

    import (
    	"bufio"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. fastapi/param_functions.py

            ),
        ],
    ) -> Any:
        """
        Declare a path parameter for a *path operation*.
    
        Read more about it in the
        [FastAPI docs for Path Parameters and Numeric Validations](https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/).
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    plugin = pluginData.getDelegate();
                }
                trace = trace.getParent();
            }
    
            Path trackingDir;
            boolean missing = event.getFile() == null;
            if (missing) {
                // missing artifact - let's track the path anyway
                File dir = event.getSession().getLocalRepository().getBasedir();
                dir = new File(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                _dst.align(4);
                _dst.enc_ndr_referent(path, 1);
                _dst.enc_ndr_referent(comment, 1);
                _dst.enc_ndr_long(state);
                _dst.enc_ndr_long(num_stores);
                _dst.enc_ndr_referent(stores, 1);
    
                if (path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(path);
    
                }
                if (comment != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should get path")
            void testGetPath() {
                String path = "folder\\subfolder\\file.txt";
    
                // Test with mock
                when(mockReferralData.getPath()).thenReturn(path);
                assertEquals(path, mockReferralData.getPath());
                verify(mockReferralData, times(1)).getPath();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java

    /**
     * Form class for handling tag operations in storage management.
     * This form represents tag data including path, name, and associated metadata.
     */
    public class TagForm {
    
        /**
         * The file or directory path associated with this tag.
         */
        @Required
        public String path;
    
        /**
         * The name of the tag with a maximum length of 100 characters.
         */
        @Required
        @Size(max = 100)
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top