- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 468 for Model1 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/path_params/tutorial005_py310.py
from enum import Enum from fastapi import FastAPI 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) -
soft_delete.go
stmt.AddClause(clause.Where{Exprs: []clause.Expression{clause.IN{Column: column, Values: values}}}) } if stmt.ReflectValue.CanAddr() && stmt.Dest != stmt.Model && stmt.Model != nil { _, queryValues = schema.GetIdentityFieldValuesMap(stmt.Context, reflect.ValueOf(stmt.Model), stmt.Schema.PrimaryFields) column, values = schema.ToQueryValues(stmt.Table, stmt.Schema.PrimaryFieldDBNames, queryValues) if len(values) > 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 4.5K bytes - Click Count (1) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiClass import japicmp.model.JApiCompatibility import javassist.CtClass import me.champeau.gradle.japicmp.report.Violation /**
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 1.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.toolchain; import java.util.Map; import org.apache.maven.toolchain.model.ToolchainModel; /** * a private contract between the toolchains plugin and the components. * * @deprecated Use {@link org.apache.maven.api.Toolchain} instead. */ @Deprecated(since = "4.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-child.xml
<version>11-SNAPSHOT</version> </parent> <artifactId>child-artifact-id</artifactId> <name>Model inheritance test parent: module directory != artifactId</name> <description> artifactId == "child-artifact-id" but expect path on SCM and site == "child" feature: support "project.directory" property, ressembling future model addition of "directory" element along "artifactId" </description> <properties>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
"org/gradle/tooling/**", "org/gradle/swiftpm/**", "org/gradle/model/**", "org/gradle/testkit/**", "org/gradle/testing/**", "org/gradle/vcs/**", "org/gradle/work/**", "org/gradle/workers/**", "org/gradle/util/**", // contains Path that clashes with `org.gradle.api.model.Path` imported above. This line should not appear before "org/gradle/api/**" )Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 12 23:20:08 GMT 2024 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation; import java.io.File; import java.util.Collection; import java.util.List; import org.apache.maven.model.path.PathTranslator; import org.codehaus.plexus.interpolation.InterpolationPostProcessor; import org.codehaus.plexus.interpolation.util.ValueSourceUtils; /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.3K bytes - Click Count (0) -
schema/naming_test.go
} } func TestReplaceEmptyTableName(t *testing.T) { ns := NamingStrategy{ SingularTable: true, NameReplacer: strings.NewReplacer("Model", ""), } tableName := ns.TableName("Model") if tableName != "Model" { t.Errorf("invalid table name generated, got %v", tableName) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue May 30 02:00:48 GMT 2023 - 7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation; import javax.inject.Named; import javax.inject.Singleton; import java.util.Properties; import org.apache.maven.model.building.ModelBuildingRequest; /** * Maven default implementation of the {@link ModelVersionProcessor} to supportCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
fastapi/security/api_key.py
from typing import Annotated from annotated_doc import Doc from fastapi.openapi.models import APIKey, APIKeyIn from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class APIKeyBase(SecurityBase): model: APIKey def __init__( self, location: APIKeyIn, name: str,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1)