Skip to content
Snippets Groups Projects
Closed Don't let elements names to use python keywords
  • View options
  • Don't let elements names to use python keywords

  • View options
  • Closed Issue created by Robert Dezmerean

    Names for models, vertices and edges can't not be python keywords (e.g. def, return).

    Example:

    If you name a vertex/edge return when you generate the test code:

    # ...
    
       def return(self):
           pass
    
    # ...  

    Will throw a syntax error.

    The check command should fail if the models has elements named like python keywords.

    Edited by Robert Dezmerean

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first