code: def add(self, cls_or_branch, *args, **kwargs):
          
          if isinstance(cls_or_branch, Branch):
              self.tasks.append(cls_or_branch)  # Add branch with already validated tasks
          else:
              # Validate
              self.__validate_task(cls_or_branch, '__init__', args, kwargs)
              # Append
              self.tasks.append({'cls_or_branch': cls_or_branch, 'args': args, 'kwargs': kwargs})
  
          return self
docs: Adds a task or branch to the lane.
  
          Parameters
          ----------
          cls_or_branch : Class
          *args
              Variable length argument list to be passed to `cls_or_branch` during instantiation
          **kwargs
              Variable length keyword arguments to be passed to `cls_or_branch` during instantiation
  
          Returns
          -------
          self: Returns `self` to allow method chaining