Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,820 for Message1 (0.07 seconds)

  1. docs_src/bigger_applications/app_an_py310/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 147 bytes
    - Click Count (0)
  2. tensorflow/build_cleaner_spec.textproto

    # proto-file: devtools/build_cleaner/proto/actions.proto
    # proto-message: ActionSpecs
    
    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 29 18:16:42 GMT 2023
    - 387 bytes
    - Click Count (0)
  3. docs_src/response_headers/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  4. tests/test_openapi_servers.py

                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_app():
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. docs_src/behind_a_proxy/tutorial004_py310.py

        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 437 bytes
    - Click Count (0)
  6. docs_src/response_model/tutorial003_04_py310.py

    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jan 10 16:22:47 GMT 2023
    - 352 bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

                    context.logger.error(e.getMessage());
                }
                return ERROR;
            }
        }
    
        protected int badGoalsErrorMessage(String message, EncryptContext context) {
            context.logger.error(message);
            context.logger.error("Supported goals are: " + String.join(", ", context.goals.keySet()));
            context.logger.error("Use -h to display help.");
            return BAD_OPERATION;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                    context.logger.error(e.getMessage());
                }
                return ERROR;
            }
        }
    
        protected int badGoalsErrorMessage(String message, UpgradeContext context) {
            context.logger.error(message);
            context.logger.error("Supported goals are: " + String.join(", ", context.goals.keySet()));
            context.logger.error("Use -h to display help.");
            return BAD_OPERATION;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java

            Platform platform,
            Boolean bundledJdk,
            String message
        ) {
            IllegalArgumentException e = expectThrows(
                IllegalArgumentException.class,
                () -> checkDistro(project, name, version, type, platform, bundledJdk)
            );
            assertThat(e.getMessage(), containsString(message));
        }
    
        // create a distro and finalize its configuration
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  10. cmd/os-reliable.go

    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
Back to Top