- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 48 for re (0.01 seconds)
-
fastapi/utils.py
stacklevel=2, ) operation_id = f"{name}{path}" operation_id = re.sub(r"\W", "_", operation_id) operation_id = f"{operation_id}_{method.lower()}" return operation_id def generate_unique_id(route: "APIRoute") -> str: operation_id = f"{route.name}{route.path_format}" operation_id = re.sub(r"\W", "_", operation_id) assert route.methodsCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
scripts/docs.py
site_path = Path("site").absolute() build_site_path = Path("site_build").absolute() header_pattern = re.compile(r"^(#{1,6}) (.+?)(?:\s*\{\s*(#.*)\s*\})?\s*$") header_with_permalink_pattern = re.compile(r"^(#{1,6}) (.+?)(\s*\{\s*#.*\s*\})\s*$") code_block3_pattern = re.compile(r"^\s*```") code_block4_pattern = re.compile(r"^\s*````") class VisibleTextExtractor(HTMLParser):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 16.9K 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) -
scripts/deploy_docs_status.py
import logging import re from typing import Literal from github import Auth, Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings class Settings(BaseSettings): github_repository: str github_token: SecretStr deploy_url: str | None = None commit_sha: str run_id: int state: Literal["pending", "success", "error"] = "pending" class LinkData(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 05:56:53 GMT 2025 - 4.4K bytes - Click Count (0) -
.github/workflows/test-redistribute.yml
if: always() needs: - test-redistribute runs-on: ubuntu-latest steps: - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1.8K bytes - Click Count (0) -
.github/workflows/pre-commit.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 23 11:17:16 GMT 2025 - 3K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/maven-user.properties
# # CONFIGURATION BREAKDOWN: # SourceCacheKey - File and RAW model requests (session/hard for consistent file access) # DefaultArtifactResolverRequest - Artifact resolution results (session/hard to avoid re-resolving) # DefaultVersionResolverRequest - Version resolution results (session/soft, less critical than artifacts) # RgavCacheKey - BOM import caching (session/soft, typically resolved once)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.8K bytes - Click Count (0) -
.github/workflows/build-docs.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/en/docs/tutorial/cookie-param-models.md
# Cookie Parameter Models { #cookie-parameter-models } If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪 This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 /// /// tipCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
If you catch an exception in a dependency with `yield`, unless you are raising another `HTTPException` or similar, **you should re-raise the original exception**. You can re-raise the same exception using `raise`: {* ../../docs_src/dependencies/tutorial008d_an_py39.py hl[17] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.9K bytes - Click Count (0)