- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 1,434 for updateFn (0.05 seconds)
-
docs/zh-hant/docs/tutorial/security/oauth2-jwt.md
{* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新相依項目 { #update-the-dependencies } 更新 `get_current_user`,讓它仍接收相同的權杖,但這次改用 JWT 權杖。 解碼收到的權杖、驗證它,並回傳目前的使用者。 如果權杖無效,立即回傳一個 HTTP 錯誤。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## 更新 `/token` 路徑操作 { #update-the-token-path-operation } 用權杖有效期建立一個 `timedelta`。 建立真正的 JWT access token 並回傳它。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
{* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新依赖项 { #update-the-dependencies } 更新 `get_current_user` 以接收与之前相同的令牌,但这次使用的是 JWT 令牌。 解码接收到的令牌,进行校验,并返回当前用户。 如果令牌无效,立即返回一个 HTTP 错误。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## 更新 `/token` 路径操作 { #update-the-token-path-operation } 用令牌的过期时间创建一个 `timedelta`。 创建一个真正的 JWT 访问令牌并返回它。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.1K bytes - Click Count (0) -
tensorflow/api_template_v1.__init__.py
# API IMPORTS PLACEHOLDER # WRAPPER_PLACEHOLDER if "dev" in __version__: # pylint: disable=undefined-variable _logging.warning(""" TensorFlow's `tf-nightly` package will soon be updated to TensorFlow 2.0. Please upgrade your code to TensorFlow 2.0: * https://www.tensorflow.org/guide/migrate Or install the latest stable TensorFlow 1.X release: * `pip install -U "tensorflow==1.*"`
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 7.5K bytes - Click Count (0) -
cmd/peer-rest-client.go
resp := localMetacacheMgr.getBucket(ctx, o.Bucket).findCache(o) return &resp, nil } return getMetacacheListingRPC.Call(ctx, client.gridConn(), &o) } // UpdateMetacacheListing - update an existing metacache it will unconditionally be updated to the new state. func (client *peerRESTClient) UpdateMetacacheListing(ctx context.Context, m metacache) (metacache, error) { if client == nil { return localMetacacheMgr.updateCacheEntry(m) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() { // Lock while we update our state so the add method above will finish adding any listeners // before we start to run them. RunnableExecutorPair list; synchronized (lock) { if (executed) { return; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
} public void updateDirectoryCache(String directoryPath, List<SmbFile> files) { DirectoryCacheEntry entry = getCacheEntry(directoryPath); if (entry == null) return; // Update cache with new directory listing for (SmbFile file : files) { SmbFileAttributes attrs = file.getAttributes(); entry.updateChild(file.getName(), attrs); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/sql-databases.md
``` </div> 然后在 `/docs` UI 中,你能够看到 **FastAPI** 会用这些**模型**来**记录** API,并且还会用它们来**序列化**和**验证**数据。 <div class="screenshot"> <img src="/img/tutorial/sql-databases/image01.png"> </div> ## 使用多个模型更新应用 { #update-the-app-with-multiple-models } 现在让我们稍微**重构**一下这个应用,以提高**安全性**和**多功能性**。 如果你查看之前的应用程序,你可以在 UI 界面中看到,到目前为止,它允许客户端决定要创建的 `Hero` 的 `id`。😱
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
src/archive/tar/reader.go
hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories } else { hdr.Typeflag = TypeReg } } // The extended headers may have updated the size. // Thus, setup the regFileReader again after merging PAX headers. if err := tr.handleRegularFile(hdr); err != nil { return nil, err }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
README.md
- **[Community Resources](https://gradle.org/resources/)** - Find more community-contributed materials to expand your knowledge. > 🌟 **Stay connected with the Gradle Community and access the latest news, training, and updates via [Slack](https://gradle.org/slack-invite), [Forum](https://discuss.gradle.org/), and our [Newsletter](https://newsletter.gradle.org)**. <br><br> <div align="center" style="margin-top: 20px;">
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Feb 12 18:58:41 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
* This implementation requires O(|N|) time. Classes extending this one may manually keep track of * the number of edges as the graph is updated, and override this method for better performance. */ protected long edgeCount() { long degreeSum = 0L; for (N node : nodes()) { degreeSum += degree(node); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0)