- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 743 for Types (0.02 seconds)
-
fastapi/dependencies/utils.py
def is_union_of_base_models(field_type: Any) -> bool: """Check if field type is a Union where all members are BaseModel subclasses.""" from fastapi.types import UnionType origin = get_origin(field_type) # Check if it's a Union type (covers both typing.Union and types.UnionType in Python 3.10+) if origin is not Union and origin is not UnionType: return False union_args = get_args(field_type)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
tests/test_tutorial/test_testing/test_main_b.py
import importlib from types import ModuleType import pytest from ...utils import needs_py310 @pytest.fixture( name="test_module", params=[ "app_b_py39.test_main", pytest.param("app_b_py310.test_main", marks=needs_py310), "app_b_an_py39.test_main", pytest.param("app_b_an_py310.test_main", marks=needs_py310), ], ) def get_test_module(request: pytest.FixtureRequest) -> ModuleType:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 833 bytes - Click Count (0) -
.github/workflows/release-notes.yml
name: Check closed issue release notes on: issues: types: [ closed ] permissions: {} jobs: check_release_notes: permissions: issues: write runs-on: ubuntu-latest steps: # Check that release-note-worthy issues have a PR with release notes attachedCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 04 15:13:53 GMT 2024 - 344 bytes - Click Count (0) -
docs/es/docs/tutorial/body-nested-models.md
* Validación de datos * Documentación automática ## Tipos especiales y validación { #special-types-and-validation } Además de tipos singulares normales como `str`, `int`, `float`, etc., puedes usar tipos singulares más complejos que heredan de `str`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph}, * {@link ValueGraph}, and {@link Network}): * * {@snippet : * someGraphAlgorithm(startNode, graph); * } * * This works because those types each implement {@code PredecessorsFunction}. It will also work * with any other implementation of this interface. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph}, * {@link ValueGraph}, and {@link Network}): * * {@snippet : * someGraphAlgorithm(startNode, graph); * } * * This works because those types each implement {@code SuccessorsFunction}. It will also work with * any other implementation of this interface. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 4.2K bytes - Click Count (0) -
.github/workflows/auto-assign-pr-to-author.yml
name: 'Auto Assign PR to Author' on: pull_request: types: [opened] permissions: {} jobs: add-reviews: permissions: contents: read # for kentaro-m/auto-assign-action to fetch config file pull-requests: write # for kentaro-m/auto-assign-action to assign PR reviewers runs-on: ubuntu-latest steps:
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 12 13:13:58 GMT 2024 - 381 bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py
import importlib from types import ModuleType from unittest.mock import patch import pytest from ...utils import needs_py310 @pytest.fixture( name="module", params=[ pytest.param("tutorial009_py39"), pytest.param("tutorial009_py310", marks=needs_py310), pytest.param("tutorial009b_py39"), ], ) def get_module(request: pytest.FixtureRequest):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 805 bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial009c.py
import importlib import re from types import ModuleType from unittest.mock import patch import pytest from ...utils import needs_py310 @pytest.fixture( name="module", params=[ pytest.param("tutorial009c_py39"), pytest.param("tutorial009c_py310", marks=needs_py310), ], ) def get_module(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.python_types.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 777 bytes - Click Count (0) -
.github/workflows/detect-conflicts.yml
name: "Conflict detector" on: push: pull_request_target: types: [synchronize] jobs: main: permissions: contents: read pull-requests: write runs-on: ubuntu-latest steps: - name: Check if PRs have merge conflicts uses: eps1lon/actions-label-merge-conflict@v3 with: dirtyLabel: "conflicts" repoToken: "${{ secrets.GITHUB_TOKEN }}"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 05 08:33:44 GMT 2025 - 499 bytes - Click Count (0)