- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for mod_name (0.05 seconds)
-
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
] } def test_openapi_schema(client: TestClient, mod_name: str): tags_schema = {"default": [], "title": "Tags"} if mod_name.startswith("tutorial001"): tags_schema.update(UNTYPED_LIST_SCHEMA) elif mod_name.startswith("tutorial002"): tags_schema.update(LIST_OF_STR_SCHEMA) elif mod_name.startswith("tutorial003"): tags_schema.update(SET_OF_STR_SCHEMA)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle
String buildNumber = System.getenv('BUILD_NUMBER') String buildUrl = System.getenv('BUILD_URL') String jobName = System.getenv('JOB_NAME') String nodeName = System.getenv('NODE_NAME') String jobBranch = System.getenv('ghprbTargetBranch') ?: System.getenv('JOB_BRANCH') tag OS.current().name() tag Architecture.current().name()
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 21 20:40:34 GMT 2021 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
* @return The model name. */ public String modelName() { return modelName; } /** * Sets the name of the LTR model. * * @param modelName The model name. * @return This query builder. */ public StoredLtrQueryBuilder modelName(final String modelName) { this.modelName = Objects.requireNonNull(modelName); return this; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.6K bytes - Click Count (0) -
docs_src/path_params/tutorial005_py310.py
class ModelName(str, Enum): alexnet = "alexnet" resnet = "resnet" lenet = "lenet" app = FastAPI() @app.get("/models/{model_name}") async def get_model(model_name: ModelName): if model_name is ModelName.alexnet: return {"model_name": model_name, "message": "Deep Learning FTW!"} if model_name.value == "lenet":Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 546 bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.h
// Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name, int num_tasks); // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(int num_tasks); // Create a multi-client ServerDef with the given `job_name`, add `num_tasks`
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-params.md
#### 比較「列舉成員」 { #compare-enumeration-members } 你可以把它與你建立的列舉 `ModelName` 中的「列舉成員」比較: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### 取得「列舉值」 { #get-the-enumeration-value } 你可以用 `model_name.value` 取得實際的值(在這個例子中是 `str`),一般而言就是 `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *} /// tip 你也可以用 `ModelName.lenet.value` 取得值 `"lenet"`。 ///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) -
docs/es/docs/tutorial/path-params.md
Puedes compararlo con el *miembro* de enumeración en tu enum creada `ModelName`: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### Obtener el valor de *enumeración* { #get-the-enumeration-value } Puedes obtener el valor actual (un `str` en este caso) usando `model_name.value`, o en general, `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params.md
You can compare it with the *enumeration member* in your created enum `ModelName`: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### Get the *enumeration value* { #get-the-enumeration-value } You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
Você pode compará-lo com o *membro de enumeração* no seu enum `ModelName` criado: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### Obtenha o valor da enumeração { #get-the-enumeration-value } Você pode obter o valor real (um `str` neste caso) usando `model_name.value`, ou, em geral, `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
#### 比较枚举成员 { #compare-enumeration-members } 可以将其与枚举类 `ModelName` 中的枚举成员进行比较: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### 获取枚举值 { #get-the-enumeration-value } 使用 `model_name.value` 或通用的 `your_enum_member.value` 获取实际的值(本例中为 `str`): {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *} /// tip | 提示 使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.6K bytes - Click Count (0)