Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 2,114 for GET (0.04 seconds)

  1. docs_src/extra_models/tutorial003_py39.py

        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    
    @app.get("/items/{item_id}", response_model=Union[PlaneItem, CarItem])
    async def read_item(item_id: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 644 bytes
    - Click Count (0)
  2. docs/ko/docs/index.md

    * 대안가능한 사용자 인터페이스를 2개 포함한 자동 대화형 API 문서:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    이전 코드 예제로 돌아가서, **FastAPI**는 다음처럼 처리합니다:
    
    * `GET` 및 `PUT` 요청에 `item_id`가 경로에 있는지 검증.
    * `GET` 및 `PUT` 요청에 `item_id`가 `int` 타입인지 검증.
        * 그렇지 않다면 클라이언트는 유용하고 명확한 에러를 볼 수 있습니다.
    * `GET` 요청에 `q`라는 선택적인 쿼리 매개변수가 검사(`http://127.0.0.1:8000/items/foo?q=somequery`처럼).
        * `q` 매개변수는 `= None`으로 선언되었기 때문에 선택사항입니다.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            this.lookup = lookup;
            this.registry = registry;
        }
    
        /**
         * Get lifecycle based on phase
         *
         * @param phase
         * @return
         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                        </dependencyManagement>
                    </project>
                    """;
    
                Document document = Document.of(pomXml);
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), document);
    
                UpgradeContext context = createMockContext();
                UpgradeResult result = strategy.doApply(context, pomMap);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. docs_src/additional_responses/tutorial004_py39.py

    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 701 bytes
    - Click Count (0)
  6. docs_src/generate_clients/tutorial002_py39.py

    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 730 bytes
    - Click Count (0)
  7. cmd/bucket-replication.go

    		})
    
    	if len(tgtArns) == 0 {
    		return fmt.Errorf("arn %s specified for resync not found in replication config", opts.arn)
    	}
    	globalReplicationPool.Get().resyncer.RLock()
    	data, ok := globalReplicationPool.Get().resyncer.statusMap[opts.bucket]
    	globalReplicationPool.Get().resyncer.RUnlock()
    	if !ok {
    		data, err = loadBucketResyncMetadata(ctx, opts.bucket, objAPI)
    		if err != nil {
    			return err
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            // Mock all required properties for LookupContext constructor
            when(request.cwd()).thenReturn(workingDirectory);
            when(request.installationDirectory()).thenReturn(Paths.get("/maven"));
            when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user"));
            when(request.topDirectory()).thenReturn(workingDirectory);
            when(request.rootDirectory()).thenReturn(Optional.empty());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

                sessionForThisModule.setCurrentProject(null);
            }
        }
    
        public int size() {
            return items.size();
        }
    
        public ProjectSegment get(int index) {
            return items.get(index);
        }
    
        public Set<String> getReactorProjectKeys() {
            Set<String> projectKeys = new HashSet<>(items.size() * 2);
            for (ProjectSegment projectBuild : items) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  10. .github/workflows/cleanup-stale-performance-data.yml

            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          
          - name: Get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v2
            with:
              secret-ids: |
                PERFORMANCE_DB_URL, gha/gradle/_all/PERFORMANCE_DB_URL
                PERFORMANCE_DB_USERNAME, gha/gradle/_all/PERFORMANCE_DB_USERNAME
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top