code: def command(
      self, *args: Any, **kwargs: Any
  ) -> Callable[
      [Callable[P, Coroutine[Any, Any, R]]],
      Callable[P, Coroutine[Any, Any, R]],
  ]:
      super_command = super().command(*args, **kwargs)
  
      def decorator(
          func: Callable[P, Coroutine[Any, Any, R]]
      ) -> Callable[P, Coroutine[Any, Any, R]]:
          @wraps(func)
          def sync_func(*_args: P.args, **_kwargs: P.kwargs) -> R:
              return asyncio.run(func(*_args, **_kwargs))
  
          if asyncio.iscoroutinefunction(func):
              super_command(sync_func)
          else:
              super_command(func)
  
          return func
  
      return decorator
  
file_path: argilla/src/argilla/cli/typer_ext.py
imports: import asyncio
  import sys
  from functools import wraps
  from typing import Any, Callable, Coroutine, Dict, Type, TypeVar
  import typer
label_desc: Use image node_id 1 for calling the ArgillaTyper obj's underlying member method code with example usage: obj.command() and returns: decorator, func, asyncio