- Sort Score
- Result 10 results
- Languages All
Results 1821 - 1830 of 2,472 for kname (0.02 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008d.py
import pytest from fastapi.testclient import TestClient @pytest.fixture(name="client") def get_client(): from docs_src.dependencies.tutorial008d import app client = TestClient(app) return client def test_get_no_item(client: TestClient): response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/vi/docs/features.md
def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` Sau đó có thể được sử dụng: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/zh/docs/features.md
def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` 可以像这样来使用: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
protected int maxParameterCount; protected int maxDataCount; protected byte maxSetupCount; protected int timeout = 0; protected int setupCount = 1; private byte subCommand; protected String name = ""; protected int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called private byte[] txn_buf;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 13:43:42 UTC 2020 - 13.2K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
fi, err := d.Readdir(-1) if err != nil { return err } for _, f := range fi { if f.IsDir() { if f.Name() == "testdata" { if err := cp(dst, filepath.Join(src, f.Name())); err != nil { return err } } continue } if err := cp(dst, filepath.Join(src, f.Name())); err != nil { return err } } return nil } func cp(dst, src string) error {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
@GwtIncompatible public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { String fieldName = property.name(); String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); assertEquals(expected, property.key()); } } public void testGetValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 10 08:40:05 UTC 2023 - 2.4K bytes - Viewed (0) -
internal/bucket/replication/and.go
package replication import ( "encoding/xml" ) // And - a tag to combine a prefix and multiple tags for replication configuration rule. type And struct { XMLName xml.Name `xml:"And" json:"And"` Prefix string `xml:"Prefix,omitempty" json:"Prefix,omitempty"` Tags []Tag `xml:"Tag,omitempty" json:"Tag,omitempty"` } var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/search.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> <html> <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="referrer" content="no-referrer"> <title>${f:h(displayQuery)}-<la:message key="labels.search_title" /></title> <c:if test="${osddLink}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/search.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> <html> <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="referrer" content="no-referrer"> <title>${f:h(displayQuery)}-<la:message key="labels.search_title" /></title> <c:if test="${osddLink}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
for (PlexusConfiguration c : config.getChildren()) { children.add(toXml(c, evaluator)); } String name = config.getName(); Object value = evaluator.evaluate(config.getValue()); return new XmlNodeImpl(name, value != null ? value.toString() : null, null, children, null); } } static class PathConverter extends AbstractBasicConverter {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0)