- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 74 for repr (0.12 seconds)
-
tests/test_params_repr.py
assert repr(Path()) == "Path(PydanticUndefined)" assert repr(Path(...)) == "Path(PydanticUndefined)" def test_query_repr_str(): assert repr(Query("teststr")) == "Query(teststr)" def test_query_repr_none(): assert repr(Query(None)) == "Query(None)" def test_query_repr_ellipsis(): assert repr(Query(...)) == "Query(PydanticUndefined)" def test_query_repr_number():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 2.3K bytes - Click Count (0) -
docs_src/handling_errors/tutorial006_py310.py
app = FastAPI() @app.exception_handler(StarletteHTTPException) async def custom_http_exception_handler(request, exc): print(f"OMG! An HTTP error!: {repr(exc)}") return await http_exception_handler(request, exc) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): print(f"OMG! The client sent invalid data!: {exc}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 928 bytes - Click Count (0) -
fastapi/_compat/v2.py
"examples": None, "exclude": None, "exclude_if": None, "discriminator": None, "deprecated": None, "json_schema_extra": None, "frozen": None, "validate_default": None, "repr": True, "init": None, "init_var": None, "kw_only": None, } # TODO: remove when dropping support for Pydantic < v2.12.3 def asdict(field_info: FieldInfo) -> dict[str, Any]: attributes = {}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 16.7K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
*testing.T) { f1 := func(in [32]byte, sc Scalar) bool { // Mask out top 4 bits to guarantee value falls in [0, l). in[len(in)-1] &= (1 << 4) - 1 if _, err := sc.SetCanonicalBytes(in[:]); err != nil { return false } repr := sc.Bytes() return bytes.Equal(in[:], repr) && isReduced(repr) } if err := quick.Check(f1, quickCheckConfig(1024)); err != nil { t.Errorf("failed bytes->scalar->bytes round-trip: %v", err) } f2 := func(sc1, sc2 Scalar) bool { if _, err := sc2.SetCanonicalBytes(sc1.Bytes()); err...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
docs/en/docs/external-links.md
/// ## GitHub Repositories Most starred [GitHub repositories with the topic `fastapi`](https://github.com/topics/fastapi): {% for repo in topic_repos %} <a href={{repo.html_url}} target="_blank">★ {{repo.stars}} - {{repo.name}}</a> by <a href={{repo.owner_html_url}} target="_blank">@{{repo.owner_login}}</a>.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 868 bytes - Click Count (0) -
module.xml
<property name="target.dir" value="${basedir}/target/modules" /> <!-- Maven Repository --> <property name="maven.snapshot.repo.url" value="https://central.sonatype.com/repository/maven-snapshots" /> <property name="maven.release.repo.url" value="https://maven.codelibs.org" /> <property name="opensearch.version" value="3.5.0" /> <target name="install.modules"> <mkdir dir="${target.dir}" />
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 4.6K bytes - Click Count (0) -
plugin.xml
<param name="plugin.groupId" value="org/codelibs/opensearch" /> <param name="plugin.name.prefix" value="opensearch-" /> <param name="plugin.name" value="configsync" /> <param name="plugin.version" value="3.5.0" /> <param name="plugin.zip.version" value="3.5.0" /> </antcall> <!-- minhash --> <antcall target="install.plugin">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Feb 12 06:33:24 GMT 2026 - 3.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
fun checkCleanDirUnixLike( dir: String, exitOnFailure: Boolean = true, ) = """ REPO=$dir if [ -e ${'$'}REPO ] ; then tree ${'$'}REPO rm -rf ${'$'}REPO echo "${'$'}REPO was polluted during the build" ${if (exitOnFailure) "exit 1" else ""} else echo "${'$'}REPO does not exist" fi """.trimIndent() fun checkCleanDirWindows( dir: String,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 8.5K bytes - Click Count (0) -
deps.xml
<property name="kopf.url" value="https://github.com/codelibs/fess-kopf/archive/refs/heads/${kopf.version}.zip" /> <!-- Maven Repository --> <property name="maven.snapshot.repo.url" value="https://central.sonatype.com/repository/maven-snapshots" /> <property name="maven.release.repo.url" value="https://repo1.maven.org/maven2" /> <target name="install.jars"> <mkdir dir="${target.dir}" /> <delete dir="${webinf.dir}/lib" />
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Feb 12 06:33:24 GMT 2026 - 2.7K bytes - Click Count (0) -
scripts/translate.py
dir_path = Path(__file__).absolute().parent.parent repo = git.Repo(dir_path) outdated_paths: list[Path] = [] en_lang_paths = list(iter_en_paths_to_translate()) for path in en_lang_paths: lang_path = generate_lang_path(lang=language, path=path) if not lang_path.exists(): continue en_commit_datetime = list(repo.iter_commits(paths=path, max_count=1))[ 0
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0)