def compss_delete_object(*obj): # type: (*typing.Any) -> typing.Union[bool, typing.List[bool]] """ Delete object. Removes a used object from the internal structures and calls the external python library (that calls the bindings-common) in order to request a its corresponding file removal. :param obj: Object/s to delete. :return: True if success. False otherwise. """ if context.in_pycompss(): if len(obj) == 1: return __delete_object__(obj[0]) else: return [__delete_object__(i_obj) for i_obj in obj] else: return __dummy_compss_delete_object__(*obj)
def compss_delete_object(obj): # type: (...) -> bool return __dummy_compss_delete_object__(obj)
def compss_delete_object(obj): return __dummy_compss_delete_object__(obj)
def compss_delete_object(*obj): # type: (*...) -> bool or [bool] return __dummy_compss_delete_object__(*obj)