- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 600 for ToOperation (0.06 sec)
-
docs/zh/docs/tutorial/dependencies/global-dependencies.md
# 全局依赖项 有时,我们要为整个应用添加依赖项。 通过与定义[*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 类似的方式,可以把依赖项添加至整个 `FastAPI` 应用。 这样一来,就可以为所有*路径操作*应用该依赖项: ```Python hl_lines="15" {!../../docs_src/dependencies/tutorial012.py!} ``` [*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 一章的思路均适用于全局依赖项, 在本例中,这些依赖项可以用于应用中的所有*路径操作*。 ## 为一组路径操作定义依赖项
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 955 bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_AbstractTensor* at = TF_CreateAbstractTensorFromEagerTensor(t, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // Build an abstract operation. auto* op = TF_NewAbstractOp(ctx); TF_AbstractOpSetOpType(op, "Add", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // Build inputs and outputs.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
end dep ->> operation: Run dependency, e.g. DB session opt raise operation -->> dep: Raise HTTPException dep -->> handler: Auto forward exception handler -->> client: HTTP error response operation -->> dep: Raise other exception dep -->> handler: Auto forward exception end operation ->> client: Return response to client
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.5K bytes - Viewed (0) -
docs/config/README.md
max_sleep (duration) maximum sleep duration between objects to slow down heal operation. eg. 2s max_io (int) maximum IO requests allowed between objects to slow down heal operation. eg. 3 drive_workers (int) the number of workers per drive to heal a new disk replacement. ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 17.9K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
// the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
// the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys]; Operation[] operations = Operation.values(); for (int i = 0; i < iterations; i++) { int keyIndex = random.nextInt(nKeys); String key = keys.get(keyIndex); Operation op = operations[random.nextInt(operations.length)]; switch (op) { case ADD: {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
...le "path" serait : ``` /items/foo ``` /// info Un chemin, ou "path" est aussi souvent appelé route ou "endpoint". /// #### Opération "Opération" fait référence à une des "méthodes" HTTP. Une de : * `POST` * `GET` * `PUT` * `DELETE` ...ou une des plus exotiques : * `OPTIONS` * `HEAD` * `PATCH` * `TRACE`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/async.md
Details about the `async def` syntax for *path operation functions* and some background about asynchronous code, concurrency, and parallelism. ## In a hurry? <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr> If you are using third party libraries that tell you to call them with `await`, like: ```Python results = await some_library() ``` Then, declare your *path operation functions* with `async def` like:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:33:37 UTC 2024 - 23.5K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/global-dependencies.md
🆎 🈸 👆 💪 💚 🚮 🔗 🎂 🈸. 🎏 🌌 👆 💪 [🚮 `dependencies` *➡ 🛠️ 👨🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, 👆 💪 🚮 👫 `FastAPI` 🈸. 👈 💼, 👫 🔜 ✔ 🌐 *➡ 🛠️* 🈸: ```Python hl_lines="15" {!../../docs_src/dependencies/tutorial012.py!} ``` & 🌐 💭 📄 🔃 [❎ `dependencies` *➡ 🛠️ 👨🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} ✔, ✋️ 👉 💼, 🌐 *➡ 🛠️* 📱. ## 🔗 👪 *➡ 🛠️*
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 825 bytes - Viewed (0)