Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 607 for c2test (0.04 seconds)

  1. tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py

    import pytest
    from fastapi.testclient import TestClient
    
    from docs_src.path_operation_configuration.tutorial006_py39 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/items/", 200, [{"name": "Foo", "price": 42}]),
            ("/users/", 200, [{"username": "johndoe"}]),
            ("/elements/", 200, [{"item_id": "Foo"}]),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. docs/uk/docs/index.md

    </p>
    <p align="center">
    <a href="https://github.com/fastapi/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
        <img src="https://github.com/fastapi/fastapi/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi" target="_blank">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  3. android-test-app/test-proguard-rules.pro

    Yuri Schimke <******@****.***> 1703342811 +0000
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 13 bytes
    - Click Count (0)
  4. .github/workflows/helm-lint.yml

    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      release:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout
            uses: actions/checkout@v4
    
          - name: Install Helm
            uses: azure/setup-helm@v4
    
          - name: Run helm lint
            run: |
              cd helm/minio
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 09 09:13:09 GMT 2024
    - 551 bytes
    - Click Count (0)
  5. .github/workflows/check-commits.yml

    jobs:
      # See .github/workflows/CheckBadMerge.groovy for explanation
      check_bad_merge:
        if: github.event.pull_request.base.ref == 'master'
        permissions:
          contents: read
          issues: write
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v6
            with:
              fetch-depth: 0
          - name: Set up JDK 17
            uses: actions/setup-java@v5
            with:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Это по-прежнему поддерживается благодаря **Pydantic**, так как в нём есть <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">встроенная поддержка `dataclasses`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. tests/test_annotated.py

    def test_nested_router():
        app = FastAPI()
    
        router = APIRouter(prefix="/nested")
    
        @router.get("/test")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/nested/test")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. tests/test_dependency_yield_scope_websockets.py

    from contextvars import ContextVar
    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI, WebSocket
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    global_context: ContextVar[dict[str, Any]] = ContextVar("global_context", default={})  # noqa: B039
    
    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    async def dep_session() -> Any:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. 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)
  10. .github/workflows/maven.yml

    name: Java CI with Maven
    
    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 17
          uses: actions/setup-java@v4
          with:
            java-version: '17'
            distribution: 'temurin'
        - name: Build with Maven
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Jul 31 06:32:26 GMT 2025
    - 574 bytes
    - Click Count (0)
Back to Top