- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 77 for parameterize (0.16 seconds)
-
docs/en/docs/advanced/advanced-dependencies.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DockerBase.java
// "latest" here is intentional, since the image name specifies "8" UBI("docker.elastic.co/ubi8/ubi-minimal:latest", "-ubi8"), // The Iron Bank base image is UBI (albeit hardened), but we are required to parameterize the Docker build IRON_BANK("${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}", "-ironbank"), // Base image with extras for Cloud CLOUD("centos:8", "-cloud"),Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Aug 20 19:11:05 GMT 2021 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* * @param <G> the type of the test generator required by this tester. An instance of G should * somehow provide an instance of the class under test, plus any other information required to * parameterize the test. * @author George van den Driessche */ @GwtCompatible @NullMarked public class AbstractTester<G> extends TestCase { private G subjectGenerator; private String suiteName;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* * @param <G> the type of the test generator required by this tester. An instance of G should * somehow provide an instance of the class under test, plus any other information required to * parameterize the test. * @author George van den Driessche */ @GwtCompatible @NullMarked public class AbstractTester<G> extends TestCase { private G subjectGenerator; private String suiteName;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
* @param <G> The type of the generator to be passed to testers in the generated test suite. An * instance of G should somehow provide an instance of the class under test, plus any other * information required to parameterize the test. * @see FeatureSpecificTestSuiteBuilder * @author George van den Driessche */ @GwtIncompatible public abstract class PerCollectionSizeTestSuiteBuilder<
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
* @param <G> The type of the generator to be passed to testers in the generated test suite. An * instance of G should somehow provide an instance of the class under test, plus any other * information required to parameterize the test. * @see FeatureSpecificTestSuiteBuilder * @author George van den Driessche */ @GwtIncompatible public abstract class PerCollectionSizeTestSuiteBuilder<
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/es/docs/advanced/advanced-dependencies.md
## Parametrizar la instance { #parameterize-the-instance } Y ahora, podemos usar `__init__` para declarar los parámetros de la instance que podemos usar para "parametrizar" la dependencia: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/zh/docs/advanced/advanced-dependencies.md
## 参数化实例 { #parameterize-the-instance } 现在,我们可以用 `__init__` 声明实例的参数,用来“参数化”这个依赖项: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *} 在本例中,**FastAPI** 不会接触或关心 `__init__`,我们会在自己的代码中直接使用它。 ## 创建实例 { #create-an-instance } 我们可以这样创建该类的实例: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.1K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/advanced-dependencies.md
在這個情境中,**FastAPI** 會用這個 `__call__` 來檢查額外的參數與子相依,並在之後呼叫它,把回傳值傳遞給你的「路徑操作函式」中的參數。 ## 讓實例可參數化 { #parameterize-the-instance } 接著,我們可以用 `__init__` 來宣告這個實例的參數,用以「參數化」這個相依: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *} 在這裡,**FastAPI** 完全不會接觸或在意 `__init__`,我們會直接在自己的程式碼中使用它。 ## 建立一個實例 { #create-an-instance } 我們可以這樣建立該類別的實例: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
tests/test_request_params/test_query/test_optional_str.py
} ] ) @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str_missing(path: str): client = TestClient(app) response = client.get(path) assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], )Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.4K bytes - Click Count (0)