Last active
December 17, 2015 20:58
-
-
Save coolgarifTech/5670920 to your computer and use it in GitHub Desktop.
An important line in the script that calls the createNodeJSON function and then appends that the nodeJSON list that is being prepared
This file contains hidden or 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
nodeJSON.append(createNodeJSON(name, uid, description)) | |
def createNodeJSON(name, uid, description): | |
JSONObject = { | |
'name': name, | |
'id' : uid, | |
'description' : description | |
} | |
return JSONObject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment