- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 2,110 for defaults (0.14 sec)
-
docs_src/request_files/tutorial001_02_py310.py
from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: bytes | None = File(default=None)): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile | None = None): if not file: return {"message": "No upload file sent"} else:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 470 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class PlatformTest { @RegisterExtension var platform = PlatformRule() @Test fun alwaysBuilds() { Platform() } /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java
package org.apache.maven.repository.internal; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.model.building.ModelCache; import org.eclipse.aether.RepositorySystemSession; /** * Default implementation of {@link ModelCacheFactory}. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Singleton @Named @Deprecated(since = "4.0.0")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_02.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/api/api_test.go
"strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var ( updateGolden = flag.Bool("updategolden", false, "update golden files") ) func TestGolden(t *testing.T) { if *flagCheck {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_py310.py
@app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_at: time | None = Body(default=None), ): start_process = start_datetime + process_after duration = end_datetime - start_process return { "item_id": item_id, "start_datetime": start_datetime,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 724 bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 14:49:49 UTC 2024 - 7K bytes - Viewed (0) -
lib/wasm/go_js_wasm_exec
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" # Increase the V8 stack size from the default of 984K # to 8192K to ensure all tests can pass without hitting # stack size limits.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 603 bytes - Viewed (0) -
manifests/addons/values-prometheus.yaml
persistentVolume: enabled: false # Use port 9090 to match Istio documentation service: servicePort: 9090 readinessProbeInitialDelay: 0 # Speed up scraping a bit from the default global: scrape_interval: 15s # Match legacy addon deployment fullnameOverride: prometheus # use dockerhub image: repository: prom/prometheus securityContext: null
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Dec 01 03:42:22 UTC 2023 - 788 bytes - Viewed (0) -
migrator/migrator.go
m.Dialector.BindVarTo(defaultStmt, defaultStmt, field.DefaultValueInterface) expr.SQL += " DEFAULT " + m.Dialector.Explain(defaultStmt.SQL.String(), field.DefaultValueInterface) } else if field.DefaultValue != "(-)" { expr.SQL += " DEFAULT " + field.DefaultValue } } return } func (m Migrator) GetQueryAndExecTx() (queryTx, execTx *gorm.DB) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0)