- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 296 for dark (0.02 seconds)
-
docs_src/async_tests/app_a_py310/test_main.py
import pytest from httpx import ASGITransport, AsyncClient from .main import app @pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 360 bytes - Click Count (0) -
internal/crypto/sse.go
// This algorithm should not be used for new objects because its key derivation // is not optimal. See: https://github.com/minio/minio/pull/6121 InsecureSealAlgorithm = "DARE-SHA256" ) // Type represents an AWS SSE type: // - SSE-C // - SSE-S3 // - SSE-KMS type Type interface { fmt.Stringer IsRequested(http.Header) bool IsEncrypted(map[string]string) bool }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/webapp/css/admin/html5shiv.min.js
b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|st...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Dec 31 23:16:54 GMT 2017 - 2.7K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/conftest.py
import shutil import sys from pathlib import Path import pytest from typer.testing import CliRunner skip_on_windows = pytest.mark.skipif( sys.platform == "win32", reason="Skipping on Windows" ) THIS_DIR = Path(__file__).parent.resolve() def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None: if sys.platform != "win32": return for item in items:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 25 10:37:59 GMT 2026 - 1.3K bytes - Click Count (0) -
.mailmap
Lóránt Pintér <******@****.***> <******@****.***> Marcin Erdmann <******@****.***> <******@****.***> Marco Vermeulen <******@****.***> <******@****.***> Mark Vieira <mark@gradle.com> <******@****.***> Michael Barnathan <******@****.***> <******@****.***> Paul King <******@****.***> <******@****.***> Paul Merlin <******@****.***> <******@****.***>
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Oct 03 06:34:28 GMT 2017 - 3.3K bytes - Click Count (0) -
docs/ja/docs/advanced/async-tests.md
テストで非同期関数を使えると、たとえばデータベースへ非同期にクエリする場合などに便利です。非同期データベースライブラリを使いながら、FastAPI アプリにリクエストを送り、その後バックエンドが正しいデータをデータベースに書き込めたかを検証したい、といったケースを想像してください。 その方法を見ていきます。 ## pytest.mark.anyio { #pytest-mark-anyio } テスト内で非同期関数を呼び出したい場合、テスト関数自体も非同期である必要があります。AnyIO はこれを実現するための便利なプラグインを提供しており、特定のテスト関数を非同期で呼び出すことを指定できます。 ## HTTPX { #httpx } **FastAPI** アプリケーションが通常の `def` 関数を使っていても、その内側は依然として `async` アプリケーションです。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/test/resources/mavenHome/conf/maven-user.properties
# # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-user.properties", \Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/config/lambda/target/lazyinit.go
} return nil } func (l *lazyInit) doSlow(f func() error) error { l.m.Lock() defer l.m.Unlock() if atomic.LoadUint32(&l.done) == 0 { if err := f(); err != nil { return err } // Mark as done only when f() is successful atomic.StoreUint32(&l.done, 1) } return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.3K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
import pytest from fastapi.openapi.models import Schema, SchemaType @pytest.mark.parametrize( "type_value", [ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: SchemaType | list[SchemaType] | None, ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
public final class PostForm { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody formBody = new FormBody.Builder() .add("search", "Jurassic Park") .build(); Request request = new Request.Builder() .url("https://en.wikipedia.org/w/index.php") .post(formBody) .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.4K bytes - Click Count (0)