Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,542 for path1b (0.04 sec)

  1. tests/test_jsonable_encoder.py

        obj = ModelWithPath(path=PurePosixPath("/foo", "bar"))
        assert jsonable_encoder(obj) == {"path": "/foo/bar"}
    
    
    def test_encode_model_with_pure_windows_path():
        class ModelWithPath(BaseModel):
            path: PureWindowsPath
    
            model_config = {"arbitrary_types_allowed": True}
    
        obj = ModelWithPath(path=PureWindowsPath("/foo", "bar"))
        assert jsonable_encoder(obj) == {"path": "\\foo\\bar"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                Artifact artifact, ArtifactRepository repository, TransferListener downloadMonitor, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
            String remotePath = repository.pathOf(artifact);
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/pathmap/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing path mapping configurations in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing path map entries,
     * including tracking information for optimistic locking and audit trails.
     * Path mappings are used to transform document URLs and paths during indexing and display.
     *
     */
    public class EditForm extends CreateForm {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        }
    
        /**
         * Finds the common root directory of all POM paths.
         */
        private Path findCommonRoot(Set<Path> pomPaths) {
            Path commonRoot = null;
            for (Path pomPath : pomPaths) {
                Path parent = pomPath.getParent();
                if (parent == null) {
                    parent = Path.of(".");
                }
                if (commonRoot == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_query_params/test_tutorial002.py

    
    @pytest.mark.parametrize(
        ("path", "expected_json"),
        [
            (
                "/items/foo",
                {"item_id": "foo"},
            ),
            (
                "/items/bar?q=somequery",
                {"item_id": "bar", "q": "somequery"},
            ),
        ],
    )
    def test_read_user_item(client: TestClient, path, expected_json):
        response = client.get(path)
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. scripts/contributors.py

        # For local development
        # contributors_path = Path("../docs/en/data/contributors.yml")
        contributors_path = Path("./docs/en/data/contributors.yml")
        # translators_path = Path("../docs/en/data/translators.yml")
        translators_path = Path("./docs/en/data/translators.yml")
        # translation_reviewers_path = Path("../docs/en/data/translation_reviewers.yml")
        translation_reviewers_path = Path("./docs/en/data/translation_reviewers.yml")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. cmd/xl-storage_windows_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File file = new File(remoteRepo.getBasedir(), path);
    
            assertFalse(file.exists(), "Remote artifact " + file + " should not be present.");
        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. tests/test_additional_responses_default_validationerror.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/a/{id}": {
                    "get": {
                        "responses": {
                            "422": {
                                "description": "Validation Error",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_03.py

    def test_post_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top