Skip to content
Ben edited this page Aug 8, 2016 · 4 revisions

Development Notes

This is just a list of things that might be of interest.

Usage

To avoid problems, always use the full "path" for imports:

# GOOD:
from Splonecli.Api.remotefunction import RemoteFunction

# BAD:
from Api.remotefunction import RemoteFunction

Development

  • Currently, lists are not supported as arguments for run calls.
  • If a function is not annotated properly, The function will be ignored
  • A mechanism to store results locally could be nice

Testing

  • If you register functions during a test, make sure you erase them afterwards: RemoteFunction.remotefuncions = {}

  • Make sure you test things only once. Especially if a function is mostly a wrapper, a short test will be enough

Clone this wiki locally