code: def get_type(self):
          
  
          ext = self.match.group(5)
  
          if ext == 'pre.py':
              return DeltaType.PRE_PYTHON
          elif ext == 'pre.sql':
              return DeltaType.PRE_SQL
          elif ext == 'py':
              return DeltaType.PYTHON
          elif ext == 'sql':
              return DeltaType.SQL
          elif ext == 'post.py':
              return DeltaType.POST_PYTHON
          elif ext == 'post.sql':
              return DeltaType.POST_SQL
docs: Return the type of the delta file.
  
          Returns
          -------
          type: int