code: def action_type_for_object(obj: Any) -> Type:
      """Convert standard type to Syft types
  
      Parameters:
          obj_or_type: Union[object, type]
              Can be an object or a class
      """
      _type = type(obj)
  
      if _type not in action_types:
          debug(
              f"WARNING: No Type for {_type}, returning {action_types[Any]}"
          )
          return action_types[Any]
  
      return action_types[_type]
  
imports: from typing import Any
  from typing import Type
  from ...util.logger import debug
  from .action_data_empty import ActionDataEmpty
label_desc: Use image node_id 2 for calling a global function with example usage: action_type_for_object(obj) and returns: action_types, action_types