Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1721 - 1730 of 4,245 for get3 (0.02 sec)

  1. docs/zh/docs/index.md

        * 数据库模型
        * ......以及更多其他类型
    * 自动生成的交互式 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`,所以它是可选的。
        * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

            new AtomicReference<WeakReference<?>>(
                (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get()));
        assertThat(sepStopwatchA.get()).isNotNull();
        // Clear all references to the Stopwatch and wait for it to be gc'd.
        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
        // Return a weak reference to the parallel ClassLoader. This is the reference that should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            if (record == null) {
                projectRealm = classRealmManager.createProjectRealm(model, toAetherArtifacts(publicArtifacts));
    
                Set<String> exclusions = new LinkedHashSet<>();
    
                for (ClassRealm extensionRealm : extensionRealms) {
                    List<String> excludes = exportedArtifacts.get(extensionRealm);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            messages = new ArrayList<>();
        }
    
        public int getMessageCount() {
            return messages.size();
        }
    
        public String getMessage(int i) {
            return messages.get(i);
        }
    
        public List<String> getMessages() {
            return Collections.unmodifiableList(messages);
        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java

        public static List<CIInfo> detectCI() {
            ArrayList<CIInfo> result = ServiceLoader.load(CIDetector.class).stream()
                    .map(ServiceLoader.Provider::get)
                    .map(CIDetector::detectCI)
                    .filter(Optional::isPresent)
                    .map(Optional::get)
                    .collect(Collectors.toCollection(ArrayList::new));
    
            if (result.size() > 1) {
                // remove generic
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. docs_src/security/tutorial003_an_py39.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

         *
         * @param id the ID of the boost document rule to retrieve
         * @return JSON response containing the boost document rule configuration
         */
        // GET /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse()
                    .setting(boostDocumentRuleService.getBoostDocumentRule(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/StandardNetwork.java

        NetworkConnections<N, E> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException(String.format(NODE_NOT_IN_GRAPH, node));
        }
        return connections;
      }
    
      final N checkedReferenceNode(E edge) {
        N referenceNode = edgeToReferenceNode.get(edge);
        if (referenceNode == null) {
          checkNotNull(edge);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/StandardNetwork.java

        NetworkConnections<N, E> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException(String.format(NODE_NOT_IN_GRAPH, node));
        }
        return connections;
      }
    
      final N checkedReferenceNode(E edge) {
        N referenceNode = edgeToReferenceNode.get(edge);
        if (referenceNode == null) {
          checkNotNull(edge);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/server-startup-msg.go

    	}
    	return newAPIEndpoints
    }
    
    // Prints common server startup message. Prints credential, region and browser access.
    func printServerCommonMsg(apiEndpoints []string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region()
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top