- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 4,711 for From (0.03 seconds)
-
tests/test_sse.py
import asyncio import time from collections.abc import AsyncIterable, Iterable import fastapi.routing import pytest from fastapi import APIRouter, FastAPI from fastapi.responses import EventSourceResponse from fastapi.sse import ServerSentEvent from fastapi.testclient import TestClient from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None items = [
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
Lists.newArrayList(FluentIterable.from(ImmutableList.of(1, 2, 3, 4)))); } @SuppressWarnings({ "deprecation", // test of deprecated method // We need to test that from(FluentIterable) really is just a null check. "InlineMeInliner", }) public void testFrom_alreadyFluentIterable() { FluentIterable<Integer> iterable = FluentIterable.from(asList(1));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Represents a Kerberos AP-REQ (Application Request) message. * This class parses and contains the authentication request sent from a client to a server. */ public class KerberosApRequest { private byte apOptions; private KerberosTicket ticket; /** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* Transfers the contents of the file channel {@literal from} to {@literal to}. * * @param from * The source file channel. Must not be {@literal null}. * @param to * The destination file channel. Must not be {@literal null}. * @return The number of bytes transferred. */ public static long transfer(final FileChannel from, final FileChannel to) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
} /** * Loads the known keywords. Although the JSON on disk maps from language to keywords, this method * inverts this to map from keyword to languages. This is because the same keywords are found in * multiple languages, so it is easier and more useful to have a single map of keywords. * * @return a mapping from keyword to languages. */ private Map<String, Set<String>> loadKeywords() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
tests/test_multi_body_errors.py
from decimal import Decimal from dirty_equals import IsOneOf from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, condecimal app = FastAPI() class Item(BaseModel): name: str age: condecimal(gt=Decimal(0.0)) # type: ignore @app.post("/items/") def save_item_no_body(item: list[Item]): return {"item": item}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 6.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_websockets.py
from collections.abc import Generator from contextlib import contextmanager from typing import Annotated, Any import pytest from fastapi import Depends, FastAPI, WebSocket from fastapi.testclient import TestClient class Session: def __init__(self) -> None: self.data = ["foo", "bar", "baz"] self.open = True def __iter__(self) -> Generator[str, None, None]: for item in self.data:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_mermaid.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path( "scripts/tests/test_translation_fixer/test_code_blocks/data" ).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_mermaid_translated.md")], indirect=True, )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/ko/docs/environment-variables.md
<div class="termy"> ```console // 여기서는 아직 환경 변수를 설정하지 않습니다 $ python main.py // 환경 변수를 설정하지 않았으므로 기본값이 사용됩니다 Hello World from Python // 하지만 먼저 환경 변수를 생성하면 $ export MY_NAME="Wade Wilson" // 그리고 프로그램을 다시 실행하면 $ python main.py // 이제 환경 변수를 읽을 수 있습니다 Hello Wade Wilson from Python ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9K bytes - Click Count (0) -
docs/en/docs/deployment/https.md
/// To **learn the basics of HTTPS**, from a consumer perspective, check [https://howhttps.works/](https://howhttps.works/). Now, from a **developer's perspective**, here are several things to keep in mind while thinking about HTTPS: * For HTTPS, **the server** needs to **have "certificates"** generated by a **third party**. * Those certificates are actually **acquired** from the third party, not "generated".
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 14K bytes - Click Count (0)