- Sort Score
- Result 10 results
- Languages All
Results 3551 - 3560 of 3,718 for inst (0.03 sec)
-
docs/zh/docs/tutorial/first-steps.md
/// note 如果你不知道两者的区别,请查阅 [并发: *赶时间吗?*](../async.md#_1){.internal-link target=_blank}。 /// ### 步骤 5:返回内容 {* ../../docs_src/first_steps/tutorial001.py hl[8] *} 你可以返回一个 `dict`、`list`,像 `str`、`int` 一样的单个值,等等。 你还可以返回 Pydantic 模型(稍后你将了解更多)。 还有许多其他将会自动转换为 JSON 的对象和模型(包括 ORM 对象等)。尝试下使用你最喜欢的一种,它很有可能已经被支持。 ## 总结 * 导入 `FastAPI`。 * 创建一个 `app` 实例。 * 编写一个**路径操作装饰器**,如 `@app.get("/")`。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.5K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
func TestCompositePrimaryKeysAssociations(t *testing.T) { type Label struct { BookID *uint `gorm:"primarykey"` Name string `gorm:"primarykey"` Value string } type Book struct { ID int Name string Labels []Label } DB.Migrator().DropTable(&Label{}, &Book{}) if err := DB.AutoMigrate(&Label{}, &Book{}); err != nil { t.Fatalf("failed to migrate, got %v", err) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* Data Streams</a>. * * @since 11.0 */ public static String getFileExtension(String fullName) { checkNotNull(fullName); String fileName = new File(fullName).getName(); int dotIndex = fileName.lastIndexOf('.'); return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1); } /** * Returns the file name without its <a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.js
ttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,co...
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 85.5K bytes - Viewed (1) -
docs/es/docs/async.md
```Python hl_lines="1" async def get_burgers(number: int): # Hacer algunas cosas asíncronas para crear las hamburguesas return burgers ``` ...en lugar de `def`: ```Python hl_lines="2" # Esto no es asíncrono def get_sequential_burgers(number: int): # Hacer algunas cosas secuenciales para crear las hamburguesas return burgers ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:15:01 UTC 2025 - 25.4K bytes - Viewed (0) -
cmd/sts-handlers.go
const MaxIntermediateCAs = 10 var ( peerCertificates = make([]*x509.Certificate, 0, len(r.TLS.PeerCertificates)) intermediates *x509.CertPool numIntermediates int ) for _, cert := range r.TLS.PeerCertificates { if cert.IsCA { numIntermediates++ if numIntermediates > MaxIntermediateCAs {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
assertThat(log).containsExactly("red:run@100000", "blue:run@200000") assertThat(taskFaker.executeCallCount).isEqualTo(2) taskFaker.assertNoMoreTasks() } private val Int.µs: Long get() = this * 1_000L
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 23K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
} @Override final long queryEarliestAvailable(long nowMicros) { return nextFreeTicketMicros; } @Override final long reserveEarliestAvailable(int requiredPermits, long nowMicros) { resync(nowMicros); long returnValue = nextFreeTicketMicros; double storedPermitsToSpend = min(requiredPermits, this.storedPermits);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
{* ../../docs_src/query_params_str_validations/tutorial013_an_py39.py hl[9] *} /// note Keep in mind that in this case, FastAPI won't check the contents of the list. For example, `list[int]` would check (and document) that the contents of the list are integers. But `list` alone wouldn't. /// ## Declare more metadata { #declare-more-metadata } You can add more information about the parameter.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 94.8K bytes - Viewed (0)