- Sort Score
- Result 10 results
- Languages All
Results 4251 - 4260 of 4,638 for Same (0.05 sec)
-
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.request_files.tutorial001_an_py39 import app client = TestClient(app) return client @needs_py39 def test_post_form_no_body(client: TestClient): response = client.post("/files/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.7K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from tests.utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial001_an_py39 import app client = TestClient(app) return client @needs_py39 def test_post_body_form(client: TestClient): response = client.post("/login/", data={"username": "Foo", "password": "secret"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 05 15:16:50 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/c/eager/gradients_internal.h
// Helper functions which delegate to `AbstractOperation`, update // the state of the ForwardOperation and call the tape as appropriate. // These APIs are mainly to facilitate testing and are subject to change. // Records the op name in the `ForwardOperation`. absl::Status Reset(AbstractOperation*, const char* op, const char* raw_device_name, ForwardOperation*); // Records the inputs in the `ForwardOperation`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
public final void init(G subjectGenerator, String suiteName) { init(subjectGenerator, suiteName, null, null); } public G getSubjectGenerator() { return subjectGenerator; } /** Returns the name of the test method invoked by this test instance. */ @J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL public final String getTestMethodName() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
public final void init(G subjectGenerator, String suiteName) { init(subjectGenerator, suiteName, null, null); } public G getSubjectGenerator() { return subjectGenerator; } /** Returns the name of the test method invoked by this test instance. */ @J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL public final String getTestMethodName() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/fr/docs/index.md
Essayez de changer la ligne contenant : ```Python return {"item_name": item.name, "item_id": item_id} ``` ... de : ```Python ... "item_name": item.name ... ``` ... vers : ```Python ... "item_price": item.price ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 22K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
- 提供兩種交互式文件介面。 --- 雖然我們只敘述了表面的功能,但其實你已經理解了它是如何執行。 試著修改以下程式碼: ```Python return {"item_name": item.name, "item_id": item_id} ``` 從: ```Python ... "item_name": item.name ... ``` 修改為: ```Python ... "item_price": item.price ... ``` 然後觀察你的編輯器,會自動補全並且還知道他們的型別: ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.8K bytes - Viewed (0) -
cmd/namespace-lock.go
return l.ctx } // Cancel function calls cancel() function func (l LockContext) Cancel() { if l.cancel != nil { l.cancel() } } // newNSLock - return a new name space lock map. func newNSLock(isDistErasure bool) *nsLockMap { nsMutex := nsLockMap{ isDistErasure: isDistErasure, } if isDistErasure { return &nsMutex } nsMutex.lockMap = make(map[string]*nsLock)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
public void testGetMethodNames() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(getClass()); final String[] names = beanDesc.getMethodNames(); for (final String name : names) { System.out.println(name); } assertThat(names.length > 0, is(true)); } /** * @throws Exception */ @Test public void testInvalidProperty() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
* the <code>load</code> method should be called with the name of a * <code>Properties</code> file (or <code>null</code> indicating no * file) to initialize the <code>Config</code>. The <code>System</code> * properties will then populate the <code>Config</code> as well potentially * overwriting properties from the file. Thus properties provided on the * commandline with the <code>-Dproperty.name=value</code> VM parameter
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0)