Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,904 for spath (0.06 sec)

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                    },
                ]
            }
        )
    
    
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

                    },
                ]
            }
        )
    
    
    @needs_py39
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Required
      optional string namespace = 1;
    
      // `name` is the name of the service.
      // Required
      optional string name = 2;
    
      // `path` is an optional URL path which will be sent in any request to
      // this service.
      // +optional
      optional string path = 3;
    
      // If specified, the port on the service that hosting webhook.
      // Default to 443 for backward compatibility.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        // Request
        // ----------------------------------------------------------------------------
    
        private File multiModuleProjectDirectory;
    
        private File basedir;
    
        private Path rootDirectory;
    
        private Path topDirectory;
    
        private List<String> goals;
    
        private boolean useReactor = false;
    
        private boolean recursive = true;
    
        private File pom;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    
    		if info.IsDir() {
    			return nil
    		}
    
    		if !isValidFile(path) {
    			fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", path, fileExtensions)
    			return nil
    		}
    
    		r, err := os.Open(path)
    		if err != nil {
    			return err
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. docs/en/docs/features.md

    * All **automatically handled** by the framework.
    * All the dependencies can require data from requests and **augment the path operation** constraints and automatic documentation.
    * **Automatic validation** even for *path operation* parameters defined in dependencies.
    * Support for complex user authentication systems, **database connections**, etc.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/tr/docs/features.md

    * Hepsi **otomatik olarak** FastAPI tarafından hallediliyor.
    * Bütün zorunlulukların gelen datalara bağlı olarak farklı gereksinimleri olabiliyor, ilave path operasyonlarının kısıtlamaları ve otomatik dokümantasyonu da ayrıca yapılıyor .
    * Path operasyonu parametreleri içerisinde belirtilen gereksinimler için bile **Otomatik doğrulama** yapılabiliyor.
    * Kompleks kimlik doğrulama sistemleri için destek, **database bağlantıları**, vs.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. .github/workflows/maven_build_itself.yml

          - name: Clean with Maven
            run: ./mvnw -e -B -V clean
    
          - name: Build again with Maven SNAPSHOT
            shell: bash
            run: |
              set +e
              export PATH=${{ env.TEMP_MAVEN_BIN_DIR }}:$PATH
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. helm-releases/minio-3.4.3.tgz

    sections. existingSecret: "" ## Directory on the MinIO pof certsPath: "/etc/minio/certs/" configPathmc: "/etc/minio/mc/" ## Path where PV would be mounted on the MinIO Pod mountPath: "/export" ## Override the root directory which the minio server should serve from. ## If left empty, it defaults to the value of {{ .Values.mountPath }} ## If defined, it must be a sub-directory of the path specified in {{ .Values.mountPath }} ## bucketRoot: "" # Number of drives attached to a node drivesPerNode: 1 # Number...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 21 20:55:50 UTC 2021
    - 17.7K bytes
    - Viewed (0)
  10. tests/test_fastapi_cli.py

                "dev",
                "non_existent_file.py",
            ],
            capture_output=True,
            encoding="utf-8",
        )
        assert result.returncode == 1, result.stdout
        assert "Using path non_existent_file.py" in result.stdout
    
    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 02 06:03:05 UTC 2024
    - 790 bytes
    - Viewed (0)
Back to top