pyDcop
                                
                                
                                
                                    pyDcop copied to clipboard
                            
                            
                            
                        Error with longer constraint function calls
I'm generating a yaml file for my pyDCOP call from an external python file. As a part of this, I'm writing constraints to the file that call functions in the external python file. I have hundreds of variables that I am calling the helper functions with after putting them into a list so that the portion of the yaml file looks like this:
  'constraint1':
    type: intention
    source: ./dcop1.py
    function: source.setConstraint([var1, var 2, ..., var100])
However, I keep getting a syntax error with the source.setConstraint([var1, var 2, ..., var100]) portion that goes away when I only have a few variables in the call. I've even gone as far as to increase the width parameter in my yaml.dump() in the python script, so I'm wondering if there's some other length limit being enforced for these lines in the yaml file?