- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 3,335 for Zone (0.16 seconds)
-
tests/test_tutorial/test_dataclasses/test_tutorial001.py
response = client.post("/items/", json={"name": "Foo", "price": 3}) assert response.status_code == 200 assert response.json() == { "name": "Foo", "price": 3, "description": None, "tax": None, } def test_post_invalid_item(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": "invalid price"}) assert response.status_code == 422
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
// Verify only one dependency remains Editor editor = new Editor(document); Element root = editor.root(); Element dependencies = DomUtils.findChildElement(root, "dependencies"); var dependencyElements = dependencies.children("dependency").toList(); assertEquals(1, dependencyElements.size(), "Should have only one dependency after duplicate removal"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/es/docs/tutorial/response-model.md
Tu modelo de response podría tener valores por defecto, como: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (o `str | None = None` en Python 3.10) tiene un valor por defecto de `None`. * `tax: float = 10.5` tiene un valor por defecto de `10.5`. * `tags: List[str] = []` tiene un valor por defecto de una list vacía: `[]`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params.md
## Необов'язкові параметри Аналогічно, Ви можете оголосити необов’язкові query параметри, встановивши для них значення за замовчуванням `None`: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} У цьому випадку параметр функції `q` буде необов’язковим і за замовчуванням матиме значення `None`. /// check | ПриміткаCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:29:01 GMT 2025 - 7.2K bytes - Click Count (0) -
tests/named_polymorphic_test.go
if hamsterToy.Name != hamster.PreferredToy.Name { t.Errorf("Should find has one polymorphic association") } hamsterToy = Toy{} DB.Model(&hamster).Association("OtherToy").Find(&hamsterToy) if hamsterToy.Name != hamster.OtherToy.Name { t.Errorf("Should find has one polymorphic association") } // Append DB.Model(&hamster).Association("PreferredToy").Append(&Toy{ Name: "bike 2",Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jul 08 09:59:40 GMT 2020 - 4.2K bytes - Click Count (0) -
ci/official/wheel.sh
tfrun bash ./ci/official/utilities/rename_and_verify_wheels.sh if [[ -n "$TFCI_BUILD_PIP_PACKAGE_ADDITIONAL_WHEEL_NAMES" ]]; then # Re-build the wheel with the same config, but with different name(s), if any. # This is done after the rename_and_verify_wheel.sh run above, not to have # to contend with extra wheels there. for wheel_name in ${TFCI_BUILD_PIP_PACKAGE_ADDITIONAL_WHEEL_NAMES}; do echo "Building for additional WHEEL_NAME: ${wheel_name}"
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Mar 03 17:29:53 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/event/targetlist.go
list.currentSendCalls.Add(1) list.incCurrentSendCalls(id) list.incTotalEvents(id) defer list.decCurrentSendCalls(id) defer list.currentSendCalls.Add(-1) defer wg.Done() if err := target.Save(event); err != nil { list.eventsErrorsTotal.Add(1) list.incFailedEvents(id) reqInfo := &logger.ReqInfo{} reqInfo.AppendTags("targetID", id.String())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.2K bytes - Click Count (0) -
tests/associations_has_one_test.go
} func TestPolymorphicHasOneAssociationForSlice(t *testing.T) { pets := []Pet{ {Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}}, {Name: "hasone-2", Toy: Toy{}}, {Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}}, } DB.Create(&pets) // Count AssertAssociationCount(t, pets, "Toy", 2, "") // Find var toys []Toy
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial006.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.8K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
assert response.status_code == 200, response.text assert response.json() == { "name": "Foo", "price": 42, "description": None, "tax": None, "tags": [], } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5K bytes - Click Count (0)