ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Undocumented

Function is_async_callable Report whether invoking a callable produces an awaitable.
def is_async_callable(func: object) -> bool: (source)

Report whether invoking a callable produces an awaitable.

Parameters
func:objectCallable to inspect. Partial objects are unwrapped first, and instances are inspected through their __call__.
Returns
boolTrue when calling func returns a coroutine, False otherwise.