- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isroutine (0.05 sec)
-
fastapi/dependencies/models.py
def is_coroutine_callable(self) -> bool: if self.call is None: return False # pragma: no cover if inspect.isroutine(_impartial(self.call)) and iscoroutinefunction( _impartial(self.call) ): return True if inspect.isroutine(_unwrapped_call(self.call)) and iscoroutinefunction( _unwrapped_call(self.call) ): return True
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 7.1K bytes - Viewed (0) -
tests/test_dependency_wrapped.py
async for item in func(*args, **kwargs): yield item return async_gen_wrapper @wraps(func) async def wrapper(*args, **kwargs): if inspect.isroutine(func) and iscoroutinefunction(func): return await func(*args, **kwargs) if inspect.isclass(func): return await run_in_threadpool(func, *args, **kwargs)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/de/docs/_llm-test.md
* der `APIRouter` * die `requirements.txt` * das Bearer-Token * der Breaking Change * der Bug * der Button * das Callable * der Code * der Commit * der Contextmanager * die Coroutine * die Datenbanksession * die Festplatte * die Domain * die Engine * das Fake-X * die HTTP-GET-Methode * das Item * die Bibliothek * der Lifespan * der Lock * die Middleware
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 07:17:04 UTC 2025 - 12.6K bytes - Viewed (0) -
fastapi/dependencies/utils.py
import dataclasses import inspect import sys from collections.abc import Coroutine, Mapping, Sequence from contextlib import AsyncExitStack, contextmanager from copy import copy, deepcopy from dataclasses import dataclass from typing import ( Annotated, Any, Callable, ForwardRef, Optional, Union, cast, ) import anyio from fastapi import params from fastapi._compat import ( ModelField,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 37.6K bytes - Viewed (3) -
fastapi/routing.py
import email.message import functools import inspect import json from collections.abc import ( AsyncIterator, Awaitable, Collection, Coroutine, Mapping, Sequence, ) from contextlib import AsyncExitStack, asynccontextmanager from enum import Enum, IntEnum from typing import ( Annotated, Any, Callable, Optional, Union, ) from annotated_doc import Doc
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0) -
docs/en/docs/_llm-test.md
* the `APIRouter` * the `requirements.txt` * the Bearer Token * the breaking change * the bug * the button * the callable * the code * the commit * the context manager * the coroutine * the database session * the disk * the domain * the engine * the fake X * the HTTP GET method * the item * the library * the lifespan * the lock * the middleware
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 14:48:47 UTC 2025 - 11.4K bytes - Viewed (0) -
CHANGELOG.md
* Fix: Honor `RequestBody.isOneShot()` in `MultipartBody` * Fix in `okhttp-coroutines`: Don't leak response bodies in `executeAsync()`. We had a bug where we didn't call `Response.close()` if the coroutine was canceled before its response was returned. * Upgrade: [Okio 3.9.0][okio_3_9_0]. * Upgrade: [Kotlin 1.9.23][kotlin_1_9_23]. * Upgrade: [UnicodeĀ® IDNA 15.1.0][idna_15_1_0]
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
fastapi/applications.py
from collections.abc import Awaitable, Coroutine, Sequence from enum import Enum from typing import ( Annotated, Any, Callable, Optional, TypeVar, Union, ) from annotated_doc import Doc from fastapi import routing from fastapi.datastructures import Default, DefaultPlaceholder from fastapi.exception_handlers import ( http_exception_handler, request_validation_exception_handler,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0)