Skip to content

Instantly share code, notes, and snippets.

@ReedJessen
Created December 30, 2016 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ReedJessen/bca96bd646f7bbd468c9332f9e7b1dad to your computer and use it in GitHub Desktop.
Save ReedJessen/bca96bd646f7bbd468c9332f9e7b1dad to your computer and use it in GitHub Desktop.
Node Class Definitions
class Person():
    def __init__(self):
        self.node_type = 'Person'
        self.full_name = None

class Patent():
    def __init__(self):
        self.node_type = 'Patent'
        self.title = ''
        self.grant_number = ''
        self.publication_number = ''
        self.application_date = ''

class Company():
    def __init__(self):
        self.node_type = 'Company'
        self.full_name = ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment