-
Notifications
You must be signed in to change notification settings - Fork 2
dev notes
Ben edited this page Aug 8, 2016
·
4 revisions
This is just a list of things that might be of interest.
To avoid problems, always use the full "path" for imports:
# GOOD:
from Splonecli.Api.remotefunction import RemoteFunction
# BAD:
from Api.remotefunction import RemoteFunction- 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
-
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