- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 2,890 for gone (0.04 seconds)
-
docs/zh/docs/tutorial/extra-models.md
以如下方式调用: ```Python print(user_dict) ``` 输出的就是 Python `dict`: ```Python { 'username': 'john', 'password': 'secret', 'email': '******@****.***', 'full_name': None, } ``` #### 解包 `dict` { #unpacking-a-dict } 把 `dict`(如 `user_dict`)以 `**user_dict` 形式传递给函数(或类),Python 会执行“解包”。它会把 `user_dict` 的键和值作为关键字参数直接传递。 因此,接着上面的 `user_dict` 继续编写如下代码: ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.5K bytes - Click Count (0) -
tests/test_sse.py
from fastapi.sse import ServerSentEvent from fastapi.testclient import TestClient from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", description="A portal opening device."),
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
wg.Add(2) go func() { defer wg.Done() srcSize, err := io.Copy(srcSha256, sobj) if err != nil { fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err) sourceFailed = true } else if srcSize != srcCtnt.Size { fmt.Printf("unreadable on source - size differs upon read: %s\n", srcCtnt.Key) sourceFailed = true } }() go func() { defer wg.Done() tgtSize, err := io.Copy(tgtSha256, tobj)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0) -
tests/named_argument_test.go
AssertEqual(t, result3, namedUser) var result4 NamedUser if err := DB.Raw("SELECT * FROM named_users WHERE name1 = @name OR name2 = @name2 OR name3 = @name", sql.Named("name", "jinzhu-none"), sql.Named("name2", "jinzhu2")).Find(&result4).Error; err != nil { t.Errorf("failed to update with named arg") } AssertEqual(t, result4, namedUser)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 21 11:50:00 GMT 2021 - 2.7K bytes - Click Count (0) -
helm/minio/templates/_helper_create_svcacct.txt
echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 2 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkSvcacctExists () # Check if the svcacct exists, by using the exit code of `mc admin user svcacct info` checkSvcacctExists() {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Mar 28 23:20:50 GMT 2024 - 3.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
* <ul> * <li>ftpConfigSystemKey: The system key used to configure the FTPClientConfig.</li> * <li>ftpConfigServerLanguageCode: The language code used by the FTP server.</li> * <li>ftpConfigServerTimeZoneId: The time zone ID of the FTP server.</li> * <li>activeExternalHost: The external IP address to use for active mode FTP.</li> * <li>activeMinPort: The minimum port number for active mode FTP.</li>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
cmd/erasure-multipart.go
go func(disk StorageAPI) { defer wg.Done() er.cleanupStaleUploadsOnDisk(ctx, disk) }(disk) } } wg.Wait() } func (er erasureObjects) deleteAll(ctx context.Context, bucket, prefix string) { var wg sync.WaitGroup for _, disk := range er.getDisks() { if disk == nil { continue } wg.Add(1) go func(disk StorageAPI) { defer wg.Done()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
* @author shot * @author manhole */ public class EnumerationIteratorTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * */ @Test public void testEnumerationIterator() { final Vector<String> vector = new Vector<String>(); vector.add("a");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
*/ Map<String, String> getUserProperties(); /** * Gets the base directory of the current project (if any). * * @return The base directory of the current project or {@code null} if none. */ File getProjectDirectory(); /** * Gets current calculated project properties * * @return The project properties, never {@code null}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.9K bytes - Click Count (0) -
tests/test_tutorial/test_body_updates/test_tutorial002.py
def test_get(client: TestClient): response = client.get("/items/baz") assert response.status_code == 200, response.text assert response.json() == { "name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": [], } def test_patch_all(client: TestClient): response = client.patch( "/items/foo", json={
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 7.8K bytes - Click Count (0)