Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,158 for paths (0.02 sec)

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py

        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/app": {
                    "get": {
                        "summary": "Read Main",
                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py

            }
        ]
    }
    
    
    @needs_py39
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    	"github.com/prometheus/client_golang/prometheus/collectors"
    )
    
    // Collector paths.
    //
    // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each
    // of these paths returns a set of V3 metrics.
    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    // appended to the path. e.g. if the collector path is /bucket/api, the endpoint
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/speedtest.go

    	u := &url.URL{
    		Scheme: scheme,
    		Host:   globalLocalNodeName,
    	}
    
    	perfs, err := perf.Run(ctx, paths...)
    	return madmin.DriveSpeedTestResult{
    		Endpoint: u.String(),
    		Version:  Version,
    		DrivePerf: func() (results []madmin.DrivePerf) {
    			for idx, r := range perfs {
    				result := madmin.DrivePerf{
    					Path:            localPaths[idx],
    					ReadThroughput:  r.ReadThroughput,
    					WriteThroughput: r.WriteThroughput,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py

        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. helm/minio/templates/console-ingress.yaml

            - {{ . | quote }}
          {{- end }}
          secretName: {{ .secretName }}
        {{- end }}
      {{- end }}
      rules:
        {{- range .Values.consoleIngress.hosts }}
        - http:
            paths:
              - path: {{ $ingressPath }}
                {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 06:27:17 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. helm/minio/templates/ingress.yaml

            - {{ . | quote }}
          {{- end }}
          secretName: {{ .secretName }}
        {{- end }}
      {{- end }}
      rules:
        {{- range .Values.ingress.hosts }}
        - http:
            paths:
              - path: {{ $ingressPath }}
                {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 06:27:17 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    public class BuildModelSourceTransformerTest {
    
        Path pomFile;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	paths := []string{
    		dstEntry,
    		dstEntry + ".meta",
    	}
    
    	// cleanup existing paths first across all drives.
    	er.cleanupMultipartPath(ctx, paths...)
    
    	g := errgroup.WithNErrs(len(disks))
    
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_testing/test_tutorial001.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": {
                "/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 821 bytes
    - Viewed (0)
Back to top