- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 143 for op_name (0.05 sec)
-
tests/test_tutorial/test_settings/test_tutorial001_pv1.py
from docs_src.settings.tutorial001_pv1 import app client = TestClient(app) response = client.get("/info") assert response.status_code == 200, response.text assert response.json() == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 556 bytes - Viewed (0) -
docs_src/settings/app01/main.py
from fastapi import FastAPI from .config import settings app = FastAPI() @app.get("/info") async def info(): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 29 09:26:07 UTC 2021 - 267 bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
tensorflow::ServerDef GetServerDef(const std::string& job_name, int num_tasks) { tensorflow::ServerDef server_def; server_def.set_protocol("grpc"); server_def.set_job_name(job_name); server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name(job_name); for (int i = 0; i < num_tasks; i++) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jul 10 07:18:05 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
for _, file := range files { objName := zipObjInfo.Name + archiveSeparator + file.Name if objName <= startAfter || objName <= token { continue } if strings.HasPrefix(objName, prefix) { if count == maxKeys { isTruncated = true break } if delimiter != "" { i := strings.Index(objName[len(prefix):], delimiter) if i >= 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); // Start a new function / execution context. string fn_name = "double"; TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name.c_str(), status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); auto* placeholder_t =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
* * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class Os { /** * The OS Name. */ public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH); /** * The OA architecture. */ public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
docs_src/settings/tutorial001_pv1.py
from fastapi import FastAPI from pydantic import BaseSettings class Settings(BaseSettings): app_name: str = "Awesome API" admin_email: str items_per_user: int = 50 settings = Settings() app = FastAPI() @app.get("/info") async def info(): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 410 bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
/// Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`. Next it will convert and validate the data. So, when you use that `settings` object, you will have data of the types you declared (e.g. `items_per_user` will be an `int`). ### Use the `settings`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
*/ public static final String PATH_SEPARATOR = System.getProperty("path.separator"); /** * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code> */ public static final String OS_NAME = System.getProperty("os.name"); /** * <code>java.io.tmpdir</code> システムプロパティ。例:/tmp */ public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir"); /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfile.encoding=UTF-8 REM Application Configuration set APP_NAME=fess set SEARCH_ENGINE_HOME=%FESS_HOME%/es if NOT "%FESS_USE_GC_LOGGING%" == "" set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xlog:gc*,gc+age=trace,safepoint:file=%FESS_HOME%/logs/gc-%APP_NAME%.log:utctime,pid,tags:filecount=5,filesize=64m set FESS_CLASSPATH=%FESS_HOME%\lib\classes set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.2K bytes - Viewed (0)