Created
March 10, 2019 11:29
-
-
Save DaleGia/0489ea85439cb07920965bb5ec169ae6 to your computer and use it in GitHub Desktop.
Nodel Example Fucntions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These functions create Actions, Events, and Parameters based the provided | |
# name and metadata. | |
def create_local_event(name, metadata=None) | |
def create_local_action(name, handler, metadata=None) | |
def create_remote_action(name, metadata=None, suggestedNode=None, suggestedAction=None) | |
def create_remote_event(name, handler, metadata=None, suggestedNode=None, suggestedEvent=None) | |
def Parameter(schemaDictOrJSONorTitle = None) | |
# These functions look for existing Actions, Events, and Parameters based on a | |
# string name. They return None if the Action/Event/Parameter could not be | |
# found. | |
def lookup_local_action(name) | |
def lookup_local_event(name) | |
def lookup_remote_action(name) | |
def lookup_remote_event(name) | |
def lookup_parameter(name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment