- Sort Score
- Num 10 results
- Language All
Results 1481 - 1490 of 1,947 for string (0.08 seconds)
-
docs_src/security/tutorial004_an_py39.py
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel # to get a string like this run: # openssl rand -hex 32 SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 fake_users_db = { "johndoe": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/lock/lock.go
return &RLockedFile{ LockedFile: lkFile, refs: 1, }, nil } // RLockedOpenFile - returns a wrapped read locked file, if the file // doesn't exist at path returns an error. func RLockedOpenFile(path string) (*RLockedFile, error) { lkFile, err := LockedOpenFile(path, os.O_RDONLY, 0o666) if err != nil { return nil, err } return newRLockedFile(lkFile) } // LockedFile represents a locked file
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.5K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
import javax.xml.parsers.DocumentBuilderFactory abstract class XmlSpecification extends Specification { final Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument() def parse(String str, Document document = null) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance() factory.setNamespaceAware(true) DocumentBuilder builder = factory.newDocumentBuilder()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
then: newRepo.find('class') == value } } class TestDomainObject implements Attachable<TestDomainObject>, Serializable { def value TestDomainObject(String value) { this.value = value } @Override boolean equals(Object o) { return o.value == value } @Override int hashCode() {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params-str-validations.md
# Query-Parameter und String-Validierungen { #query-parameters-and-string-validations } **FastAPI** ermöglicht es Ihnen, zusätzliche Informationen und Validierungen für Ihre Parameter zu deklarieren. Nehmen wir diese Anwendung als Beispiel: {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 19.1K bytes - Click Count (0) -
cmd/batch-expire_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java
import japicmp.model.JApiMethod; import me.champeau.gradle.japicmp.report.Violation; import java.util.Map; public class IncubatingMissingRule extends AbstractGradleViolationRule { public IncubatingMissingRule(Map<String, Object> params) { super(params); } @Override public Violation maybeViolation(final JApiCompatibility member) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 1.7K bytes - Click Count (0) -
tests/test_request_params/test_path/test_required_str.py
def test_schema(path: str, expected_name: str, expected_title: str): assert app.openapi()["paths"][path]["get"]["parameters"] == [ { "required": True, "schema": {"title": expected_title, "type": "string"}, "name": expected_name, "in": "path", } ] @pytest.mark.parametrize( "path", [ pytest.param("/required-str", id="required-str"),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.3K bytes - Click Count (0) -
cmd/metrics-v3-audit.go
// such as failed messages and total messages. func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error { audit := logger.CurrentStats() for id, st := range audit { labels := []string{targetID, id} m.Set(auditFailedMessages, float64(st.FailedMessages), labels...) m.Set(auditTargetQueueLength, float64(st.QueueLength), labels...) m.Set(auditTotalMessages, float64(st.TotalMessages), labels...) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 10 14:50:39 GMT 2024 - 1.9K bytes - Click Count (0) -
docs/es/docs/_llm-test.md
//// ## Comillas en fragmentos de código { #quotes-in-code-snippets } //// tab | Prueba `pip install "foo[bar]"` Ejemplos de literales de string en fragmentos de código: `"this"`, `'that'`. Un ejemplo difícil de literales de string en fragmentos de código: `f"I like {'oranges' if orange else "apples"}"`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:16:35 GMT 2025 - 12.6K bytes - Click Count (0)