- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Draining (0.06 sec)
-
tests/test_inherited_custom_class.py
def __str__(self): return self.uuid @property # type: ignore def __class__(self): return uuid.UUID @property def __dict__(self): """Spoof a missing __dict__ by raising TypeError, this is how asyncpg.pgroto.pgproto.UUID behaves""" raise TypeError("vars() argument must have __dict__ attribute") def test_pydanticv2(): from pydantic import field_serializer
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/ja/llm-prompt.md
2) Keep the tone concise and technical (match existing Japanese FastAPI docs). ### Headings 1) Follow the existing Japanese style: short, descriptive headings (often noun phrases), e.g. 「チェック」. 2) Do not add a trailing period at the end of headings. ### Quotes 1) Prefer Japanese corner brackets 「」 in normal prose when quoting a term. 2) Do not change quotes inside inline code, code blocks, URLs, or file paths. ### Ellipsis
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 17:30:52 UTC 2025 - 1.3K bytes - Viewed (0) -
docs/ko/llm-prompt.md
2) Keep the tone consistent with the existing Korean FastAPI docs. ### Headings 1) Follow existing Korean heading style (short, action-oriented headings like “확인하기”). 2) Do not add trailing punctuation to headings. ### Quotes 1) Keep quote style consistent with the existing Korean docs. 2) Never change quotes inside inline code, code blocks, URLs, or file paths. ### Ellipsis
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 17:32:05 UTC 2025 - 1.4K bytes - Viewed (0) -
.pre-commit-config.yaml
rev: v6.0.0 hooks: - id: check-added-large-files args: ['--maxkb=750'] - id: check-toml - id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace - repo: local hooks: - id: local-ruff-check name: ruff check entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix require_serial: trueRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 11:36:58 UTC 2025 - 1.8K bytes - Viewed (1) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
assert response.json() == "plumbus" def test_fastapi_error(mod: ModuleType): client = TestClient(mod.app) with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "raising an exception and a dependency with yield" in exc_info.value.args[0] def test_internal_server_error(mod: ModuleType): client = TestClient(mod.app, raise_server_exceptions=False)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/uk/llm-prompt.md
2) Keep the tone concise and technical. ### Headings 1) Follow existing Ukrainian heading style; keep headings short and instructional. 2) Do not add trailing punctuation to headings. ### Quotes 1) Prefer Ukrainian guillemets «…» for quoted terms in prose, matching existing Ukrainian docs. 2) Never change quotes inside inline code, code blocks, URLs, or file paths.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 19 12:51:53 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/zh/llm-prompt.md
2) Address the reader naturally (commonly using “你/你的”). ### Headings 1) Follow existing Simplified Chinese heading style (short and descriptive). 2) Do not add trailing punctuation to headings. 3) If a heading contains only the name of a FastAPI feature, do not translate it. ### Quotes and punctuation
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:49:08 UTC 2025 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app01.py
main_mod = importlib.import_module(mod_name) return TestClient(main_mod.app) def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch): monkeypatch.delenv("ADMIN_EMAIL", raising=False) if mod_name in sys.modules: del sys.modules[mod_name] # pragma: no cover with pytest.raises(ValidationError) as exc_info: importlib.import_module(mod_name)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
The benefit of raising an exception over returning a value will be more evident in the section about Dependencies and Security. In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9K bytes - Viewed (0) -
docs/zh-hant/llm-prompt.md
2) Address the reader naturally (commonly using “你/你的”). ### Headings 1) Follow existing Traditional Chinese heading style (short and descriptive). 2) Do not add trailing punctuation to headings. ### Quotes and punctuation 1) Keep punctuation style consistent with existing Traditional Chinese docs (they often mix English terms like “FastAPI” with Chinese text).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:49:46 UTC 2025 - 2.2K bytes - Viewed (0)