Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 2,114 for Get (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * </p>
         * <ul>
         *   <li><strong>For Maven 4 API consumers:</strong> Use {@link #targetPath(Project)} to get the
         *       fully resolved absolute path where files should be copied.</li>
         *   <li><strong>For Maven 3 compatibility layer:</strong> Use this method to get the path as specified
         *       in the configuration, which can then be passed to legacy plugins that expect to perform
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. tests/test_security_scopes_sub_dependency.py

            call_counts["get_user_items"] += 1
            return {
                "user_items": f"user_items_{call_counts['get_user_items']}",
                "user_me": user_me,
            }
    
        app = FastAPI()
    
        @app.get("/")
        def path_operation(
            user_me: Annotated[dict, Depends(get_user_me)],
            user_items: Annotated[dict, Security(get_user_items, scopes=["items"])],
        ):
            return {
                "user_me": user_me,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            for (IssueLocality issueLocality : issueLocalitiesToReport) {
                Set<String> pluginIssues = issues.pluginIssues.get(issueLocality);
                if (pluginIssues != null && !pluginIssues.isEmpty()) {
                    return true;
                }
                Map<String, LinkedHashSet<String>> mojoIssues = issues.mojoIssues.get(issueLocality);
                if (mojoIssues != null && !mojoIssues.isEmpty()) {
                    return true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. tests/test_route_scope.py

    import pytest
    from fastapi import FastAPI, Request, WebSocket, WebSocketDisconnect
    from fastapi.routing import APIRoute, APIWebSocketRoute
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. docs_src/cookie_params/tutorial001_py310.py

    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: str | None = Cookie(default=None)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 170 bytes
    - Click Count (0)
  6. docs_src/configure_swagger_ui/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"deepLinking": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 201 bytes
    - Click Count (0)
  7. docs_src/custom_response/tutorial009_py39.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    async def main():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 202 bytes
    - Click Count (0)
  8. cmd/dummy-handlers.go

    	"github.com/minio/pkg/v3/policy"
    )
    
    // Data types used for returning dummy tagging XML.
    // These variables shouldn't be used elsewhere.
    // They are only defined to be used in this file alone.
    
    // GetBucketWebsite  - GET bucket website, a dummy api
    func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketWebsite")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 13 15:25:16 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            } else {
                String current = ChecksumAlgorithmHelper.calculate(
                                src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory()))
                        .get(Sha1ChecksumAlgorithmFactory.NAME);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    pomArtifactTransformer.transform(project, session, src, target);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. docs_src/app_testing/app_a_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 238 bytes
    - Click Count (0)
Back to Top