code: def alter_partitions_with_environment_context(self, db_name, tbl_name, new_parts, environment_context):
      
      self.send_alter_partitions_with_environment_context(db_name, tbl_name, new_parts, environment_context)
      self.recv_alter_partitions_with_environment_context()
docs: Parameters:
       - db_name
       - tbl_name
       - new_parts
       - environment_context