- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,921 for data1 (0.03 sec)
-
tests/test_tutorial/test_response_model/test_tutorial004_py310.py
"price": 50.2, "tax": 10.5, "tags": [], }, ), ], ) def test_get(url, data, client: TestClient): response = client.get(url) assert response.status_code == 200, response.text assert response.json() == data @needs_py310 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
unexpected: secretItemColumns, }, { name: "test tabular output with a single secret item", format: TABULAR, items: []SecretItem{ { Name: "olinger", Data: "certdata", Source: "source", Destination: "destination", SecretMeta: SecretMeta{ Valid: true, SerialNumber: "serial_number", NotAfter: "expires",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) { data, err := proto.Marshal(msg) if err != nil { return nil, err } return z.sendDataAndWaitForAck(data, fd) } func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) { var rights []byte if fd != nil { rights = unix.UnixRights(*fd) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp
<c:forEach var="data" varStatus="s" items="${badWordItems}"> <tr data-href="${contextPath}/admin/badword/details/4/${f:u(data.id)}"> <td>${f:h(data.suggestWord)}</td>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Feb 12 20:25:27 UTC 2020 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
/** * Base-64 encodes the supplied block of data. Line wrapping is not * applied on output. * * @param bytes The block of data that is to be Base-64 encoded. * @return A <code>String</code> containing the encoded data. */ public static String encode(byte[] bytes) { int length = bytes.length; if (length == 0) return "";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.7K bytes - Viewed (0) -
internal/ioutil/hardlimitreader.go
var ErrOverread = errors.New("input provided more bytes than specified") // HardLimitReader returns a Reader that reads from r // but returns an error if the source provides more data than allowed. // This means the source *will* be overread unless EOF is returned prior. // The underlying implementation is a *HardLimitedReader. // This will ensure that at most n bytes are returned and EOF is reached.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
@VisibleForTesting data class AcceptedApiChange( val type: String?, val member: String?, val acceptation: String?, val changes: List<String>? ) { override fun toString(): String = "Type: '$type', Member: '$member'" } @VisibleForTesting data class AcceptedApiChanges( val acceptedApiChanges: List<AcceptedApiChange>?
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
assertEquals("htmlTransformer", htmlTransformer.getName()); } public void test_transform() { final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("http://hoge/"); responseData.setResponseBody(data); responseData.setCharSet("ISO-8859-1"); final ResultData resultData = htmlTransformer.transform(responseData);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
docs/sts/web-identity.py
if error: return "Error: " + error authorization_code = request.args.get('code') data = {'grant_type': 'authorization_code', 'code': authorization_code, 'redirect_uri': callback_uri} id_token_response = requests.post( token_url, data=data, verify=False, allow_redirects=False, auth=(client_id, client_secret)) print('body: ' + id_token_response.text)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0)