code: def extract_actions_from_class(record_class):
      
      for name in dir(record_class):
          method = getattr(record_class, name, None)
          if method and getattr(method, '__deposit_action__', False):
              yield method.__name__
docs: Extract actions from class.