- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 1,236 for texts (0.04 seconds)
-
tests/test_tutorial/test_settings/test_app01.py
"admin_email": "******@****.***", "items_per_user": 50, } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/info": { "get": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (0) -
internal/kms/stub.go
latency: make([]atomic.Uint64, len(defaultLatencyBuckets)), conn: &StubKMS{ KeyNames: []string{defaultKeyName}, }, } } // StubKMS is a KMS implementation for tests type StubKMS struct { KeyNames []string } // Version returns the type of the KMS. func (s StubKMS) Version(ctx context.Context) (string, error) { return "stub", nil } // APIs returns supported APIs
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.7K bytes - Click Count (0) -
tests/table_test.go
package tests_test import ( "regexp" "sync" "testing" "gorm.io/driver/gaussdb" "gorm.io/driver/postgres" "gorm.io/gorm" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" . "gorm.io/gorm/utils/tests" ) type UserWithTable struct { gorm.Model Name string } func (UserWithTable) TableName() string { return "gorm.user" } func TestTable(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
ci/official/envs/windows_x86_2022
TFCI_OUTPUT_DIR=build_output TFCI_FIND_BIN=C:/tools/msys64/usr/bin/find.exe TFCI_LIB_SUFFIX="-cpu-windows-x86_64" # auditwheel is not supported for Windows TFCI_WHL_AUDIT_ENABLE=0 TFCI_WHL_AUDIT_PLAT=0 # Tests are extremely slow at the moment TFCI_WHL_BAZEL_TEST_ENABLE=0 TFCI_WHL_SIZE_LIMIT=450M TFCI_WHL_SIZE_LIMIT_ENABLE=1 TFCI_WHL_IMPORT_TEST_ENABLE=1 TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS=""
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Nov 06 19:44:26 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
) async def a(id): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a/{id}": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
* 将 `HTMLResponse` 作为你的 *路径操作* 的 `response_class` 参数传入。 {* ../../docs_src/custom_response/tutorial002.py hl[2,7] *} /// info | 提示 参数 `response_class` 也会用来定义响应的「媒体类型」。 在这个例子中,HTTP 头的 `Content-Type` 会被设置成 `text/html`。 并且在 OpenAPI 文档中也会这样记录。 /// ### 返回一个 `Response` 正如你在 [直接返回响应](response-directly.md){.internal-link target=_blank} 中了解到的,你也可以通过直接返回响应在 *路径操作* 中直接重载响应。 和上面一样的例子,返回一个 `HTMLResponse` 看起来可能是这样:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.5K bytes - Click Count (0) -
src/cmd/addr2line/main.go
tab, err := f.PCLineTable() if err != nil { log.Fatalf("reading %s: %v", flag.Arg(0), err) } stdin := bufio.NewScanner(os.Stdin) stdout := bufio.NewWriter(os.Stdout) for stdin.Scan() { p := stdin.Text() if strings.Contains(p, ":") { // Reverse translate file:line to pc. // This was an extension in the old C version of 'go tool addr2line' // and is probably not used by anyone, but recognize the syntax.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 2.4K bytes - Click Count (0) -
ci/official/requirements_updater/README.md
bazel build <target> --repo_env=HERMETIC_PYTHON_VERSION=3.12 # OR set the environment variable globally in your shell: export HERMETIC_PYTHON_VERSION=3.12 ``` You may run builds and tests against different versions of Python sequentially on the same machine by simply switching the value of `HERMETIC_PYTHON_VERSION` between the runs. All the python-agnostic parts of the build cache from the
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Jun 29 00:19:18 GMT 2024 - 3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * Unit tests for the {@link StrategyOrchestrator} class. * Tests strategy execution coordination and result aggregation. */ @DisplayName("StrategyOrchestrator") class StrategyOrchestratorTest { private StrategyOrchestrator orchestrator;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0)