- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 496 for c_test (0.04 seconds)
-
tests/test_dependency_class.py
from collections.abc import AsyncGenerator, Generator import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() class CallableDependency: def __call__(self, value: str) -> str: return value class CallableGenDependency: def __call__(self, value: str) -> Generator[str, None, None]: yield value class AsyncCallableDependency:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt
triggerName = "QuickFeedback", ) { init { id("Promotion_SnapshotFromQuickFeedback") name = "Nightly Snapshot (from QuickFeedback)" description = "Promotes the latest successful changes on '${branch.branchName}' from Quick Feedback as a new nightly snapshot" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Mar 20 06:13:56 GMT 2025 - 1.2K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
break } var latest xlMetaV2ShallowVersion if consistent { // All had the same signature, easy. latest = tops[0] merged = append(merged, latest) // Calculate latest 'n' non-free versions. if !latest.header.FreeVersion() { nVersions++ } } else { // Find latest. var latestCount int for i, ver := range tops {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
compat/maven-resolver-provider/src/test/resources/repo/ut/simple/artifact/maven-metadata.xml
xsi:schemaLocation="http://maven.apache.org/METADATA/1.1.0 http://maven.apache.org/xsd/metadata-1.1.0.xsd"> <groupId>ut.simple</groupId> <artifactId>artifact</artifactId> <versioning> <latest>1.0</latest> <release>1.0</release> <versions> <version>1.0</version> </versions> <lastUpdated>20111123122038</lastUpdated> </versioning>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
.github/workflows/missing_playground.yml
permissions: contents: read jobs: stale: permissions: issues: write # for actions/stale to close stale issues pull-requests: write # for actions/stale to close stale PRs runs-on: ubuntu-latest env: ACTIONS_STEP_DEBUG: true steps: - name: Close Stale Issues uses: actions/stale@v8 with: repo-token: ${{ secrets.GITHUB_TOKEN }}Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Apr 11 02:27:05 GMT 2023 - 1.3K bytes - Click Count (0) -
.teamcity/scripts/common.sh
# This scripts detects builds running on EC2 by accessing the special ip 169.254.169.254 exposed by AWS instances. # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html exit_if_not_on_ec2_instance() { curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id" IS_EC2_INSTANCE=$? if [ $IS_EC2_INSTANCE -ne 0 ]; then echo "Not running on an EC2 instance, skipping the configuration" exit 0Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Oct 26 09:37:09 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/ko/docs/advanced/async-tests.md
이런 경우의 테스트 코드를 어떻게 비동기로 작성하는지 알아봅시다. ## pytest.mark.anyio 앞에서 작성한 테스트 함수에서 비동기 함수를 호출하고 싶다면, 테스트 코드도 비동기 함수여야합니다. AnyIO는 특정 테스트 함수를 비동기 함수로 호출 할 수 있는 깔끔한 플러그인을 제공합니다. ## HTTPX **FastAPI** 애플리케이션이 `async def` 대신 `def` 키워드로 선언된 함수를 사용하더라도, 내부적으로는 여전히 `비동기` 애플리케이션입니다.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 10 11:03:16 GMT 2024 - 4.7K bytes - Click Count (0) -
.github/workflows/contributors.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1.5K bytes - Click Count (0) -
.github/workflows/issue-manager.yml
types: - labeled workflow_dispatch: permissions: issues: write pull-requests: write jobs: issue-manager: if: github.repository_owner == 'fastapi' runs-on: ubuntu-latest steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: tiangolo/issue-manager@0.6.0 with:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 19:36:25 GMT 2025 - 1.6K bytes - Click Count (0) -
.github/workflows/sponsors.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1.5K bytes - Click Count (0)