- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 1,299 for else (0.02 seconds)
-
.github/DISCUSSION_TEMPLATE/translations.yml
options: - label: I checked that this language is not already being translated in FastAPI docs. required: true - label: I searched existing discussions to ensure no one else proposed this language. required: true - label: I am a native speaker of the language I want to help translate. required: true - type: input id: language attributes:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 26 11:35:42 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_validate_response.py
def get_invalid_none(): return None @app.get("/items/validnone", response_model=Union[Item, None]) def get_valid_none(send_none: bool = False): if send_none: return None else: return {"name": "invalid", "price": 3.2} @app.get("/items/innerinvalid", response_model=Item) def get_innerinvalid(): return {"name": "double invalid", "price": "foo", "owner_ids": ["foo", "bar"]}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
cmd/generic-handlers.go
} defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r)) writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrAllAccessDisabled), r.URL) return } } else { // Validate bucket names if it is not empty if bucketName != "" && s3utils.CheckValidBucketNameStrict(bucketName) != nil { if ok { tc.FuncName = "handler.ValidRequest"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1) -
ci/official/containers/ml_build/setup.python.sh
cat >pythons.txt <<EOF $VERSION EOF elif [[ ${VERSION} == "python3.14" || ${VERSION} == "python3.13" || ${VERSION} == "python3.12" ]]; then cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv EOF else cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv $VERSION-distutils EOF fi /setup.packages.sh pythons.txt # Python 3.10 include headers fix:
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 30 20:25:44 GMT 2025 - 2.5K bytes - Click Count (0) -
ci/official/upload.sh
if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then export TF_VER_FULL="$(tfrun bazel run //tensorflow/tools/ci_build:calculate_full_version -- --wheel-type nightly)" else export TF_VER_FULL="$(tfrun bazel run //tensorflow/tools/ci_build:calculate_full_version -- --wheel-type release)" fi # Note on gsutil commands:
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 2.8K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
while (queue.isNotEmpty()) { val dependency = when (val result = queue.removeFirst()) { is ResolvedDependencyResult -> result is UnresolvedDependencyResult -> throw result.failure else -> throw AssertionError("Unknown dependency type: $result") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri May 16 18:26:52 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage(); if (logger.isDebugEnabled()) { logger.warn(msg, e); } else { logger.warn(msg); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py
**( {"deprecated": True} if PYDANTIC_VERSION_MINOR_TUPLE >= (2, 10) else {} ), }, "name": "item-query", "in": "query", } ],Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/sts/client_grants/__init__.py
return RefreshableCredentials.create_from_metadata( metadata=fetcher(), refresh_using=fetcher, method=self.METHOD, ) else: return None def _create_credentials_fetcher(self): method = self.METHOD def fetch_credentials(): # HTTP headers are case insensitive filter out
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
validationReportLevel(repositorySystemSession); // this will parse and store it in session.data validationPluginExcludes(repositorySystemSession); } else if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { reportSessionCollectedValidationIssues(executionEvent.getSession()); } } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:32 GMT 2025 - 17.5K bytes - Click Count (0)