Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for isroutine (0.08 seconds)

  1. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. 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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 07:17:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  5. 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,
    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)
  6. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. doc/godebug.md

    [`tlssecpmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences).
    
    Go 1.26 added a new `tracebacklabels` setting that controls the inclusion of
    goroutine labels set through the the `runtime/pprof` package. Setting `tracebacklabels=1`
    includes these key/value pairs in the goroutine status header of runtime
    tracebacks and debug=2 runtime/pprof stack dumps. This format may change in the future.
    (see go.dev/issue/76349)
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. doc/go_spec.html

    <p>
    The function value and parameters are
    <a href="#Calls">evaluated as usual</a>
    in the calling goroutine, but
    unlike with a regular call, program execution does not wait
    for the invoked function to complete.
    Instead, the function begins executing independently
    in a new goroutine.
    When the function terminates, its goroutine also terminates.
    If the function has any return values, they are discarded when the
    function completes.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  9. 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]
    
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  10. 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,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
Back to Top