Skip to main content

Watch-it: Only functions

The entry file for your ArupCompute library should only contain standalone functions i.e. look a little like the below:

def functionA():
# ...

def functionB():
# ...

def functionC():
# ...

Other parts of the code such as in the list below can interfere with the upload process:

  • Standalone code (outside of a function)
  • Functions within classes
  • Functions within functions