- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,627 for modes (0.02 seconds)
-
tests/test_jsonable_encoder.py
model = ModelWithDefault(foo="foo", bar="bar") assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"} assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"} assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"} assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == { "foo": "foo" }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
m.region(pos, input.length()); return m.lookingAt(); } public String region() { return input.substring(markPos, pos); } /** * Moves the position to the next instance of the given character, or the end of the input if not found. */ public void find(char c) { int cpos = pos; while (cpos < input.length()) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
} /** * Converts this compat model InputSource to an API model InputSource. * This method is used for converting between the compat model and the API model. * * @return the equivalent API model InputSource */ public org.apache.maven.api.model.InputSource toApiSource() { return org.apache.maven.api.model.InputSource.of(modelId, location); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/bucket/minio-bucket.json
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 101.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/FunctionalTestProject.kt
import jetbrains.buildServer.configs.kotlin.Project import model.CIBuildModel import model.FunctionalTestBucketProvider import model.Stage import model.TestCoverage const val DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE = 50 const val DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE = 20 const val DEFAULT_MACOS_FUNCTIONAL_TEST_BUCKET_SIZE = 20 class FunctionalTestProject( val model: CIBuildModel,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 876 bytes - Click Count (0) -
tests/table_test.go
} } r = dryDB.Table("(?) as u", DB.Model(&User{}).Select("name")).Find(&User{}).Statement if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE .users.\\..deleted_at. IS NULL\\) as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTest.kt
import jetbrains.buildServer.configs.kotlin.BuildSteps import jetbrains.buildServer.configs.kotlin.ParameterDisplay import model.CIBuildModel import model.PerformanceTestBuildSpec import model.PerformanceTestType import model.Stage class PerformanceTest( model: CIBuildModel, stage: Stage, performanceTestBuildSpec: PerformanceTestBuildSpec, description: String, performanceSubProject: String,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import org.apache.maven.api.model.Model; import org.apache.maven.model.v4.MavenStaxReader; /** * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/en/docs/tutorial/encoder.md
The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
import org.apache.maven.model.PluginContainer; import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.Reporting; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.merge.MavenModelMerger; import org.codehaus.plexus.util.StringUtils; /** * Handles inheritance of model values. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0)