Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 1,612 for mymessage (0.04 sec)

  1. docs/zh/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` 接收以下参数:
    
    * 在后台运行的任务函数(`write_notification`)。
    * 应按顺序传递给任务函数的任意参数序列(`email`)。
    * 应传递给任务函数的任意关键字参数(`message="some notification"`)。
    
    ## 依赖注入
    
    使用 `BackgroundTasks` 也适用于依赖注入系统,你可以在多个级别声明 `BackgroundTasks` 类型的参数:在 *路径操作函数* 里,在依赖中(可依赖),在子依赖中,等等。
    
    **FastAPI** 知道在每种情况下该做什么以及如何复用同一对象,因此所有后台任务被合并在一起并且随后在后台运行:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ServerSystemConfig) Msgsize() (s int) {
    	s = 1 + 11 + msgp.IntSize + 9 + msgp.ArrayHeaderSize
    	for za0001 := range z.CmdLines {
    		s += msgp.StringPrefixSize + len(z.CmdLines[za0001])
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Теперь вместо того, чтобы возвращать:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...этот ответ вернёт:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Разумеется, вы наверняка найдёте гораздо более полезные способы воспользоваться этим, чем просто форматирование JSON. 😉
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc_edit.jsp

                                </div>
                                <div class="card-body">
                                    <div>
                                        <la:info id="msg" message="true">
                                            <div class="alert alert-info">${msg}</div>
                                        </la:info>
                                        <la:errors property="_global"/>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                                "title": "Location",
                                "type": "array",
                            },
                            "msg": {
                                "title": "Message",
                                "type": "string",
                            },
                            "type": {
                                "title": "Error Type",
                                "type": "string",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. tests/test_filter_pydantic_sub_model_pv2.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
                                "type": {"title": "Error Type", "type": "string"},
                            },
                        },
                    }
                },
            }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. internal/http/lambda-headers.go

    	AmzRequestToken = "x-amz-request-token"
    
    	AmzFwdStatus                   = "x-amz-fwd-status"
    	AmzFwdErrorCode                = "x-amz-fwd-error-code"
    	AmzFwdErrorMessage             = "x-amz-fwd-error-message"
    	AmzFwdHeaderAcceptRanges       = "x-amz-fwd-header-accept-ranges"
    	AmzFwdHeaderCacheControl       = "x-amz-fwd-header-Cache-Control"
    	AmzFwdHeaderContentDisposition = "x-amz-fwd-header-Content-Disposition"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * @return The user info helper.
         */
        public static UserInfoHelper getUserInfoHelper() {
            return getComponent(USER_INFO_HELPER);
        }
    
        /**
         * Gets the message manager component.
         * @return The message manager.
         */
        public static MessageManager getMessageManager() {
            return getComponent(MESSAGE_MANAGER);
        }
    
        /**
         * Gets the dictionary manager component.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. cmd/common-main.go

    		consoleapi.TLSPort = globalMinioConsolePort
    		consoleapi.Hostname = globalMinioConsoleHost
    	}
    
    	return server, nil
    }
    
    // Check for updates and print a notification message
    func checkUpdate(mode string) {
    	updateURL := minioReleaseInfoURL
    	if runtime.GOOS == globalWindowsOSName {
    		updateURL = minioReleaseWindowsInfoURL
    	}
    
    	u, err := url.Parse(updateURL)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                if (logger.isDebugEnabled()) {
                                    // Message below is checked for in the MNG-2199 core IT.
                                    logger.warn("Failed to build parent project for " + project.getId(), e);
                                } else {
                                    // Message below is checked for in the MNG-2199 core IT.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
Back to top