Ejemplo n.º 1
0
    def __init__(self, parent=None, key_name=None, app=None, **entity_values):
        """Constructor for GSoCOrganization Model.

    Args:
        See Google App Engine APIs.
    """

        db.Model.__init__(self, parent, key_name, app, **entity_values)

        Taggable.__init__(self, org_tag=OrgTag)
Ejemplo n.º 2
0
  def __init__(self, parent=None, key_name=None, app=None, **entity_values):
    """Constructor for GSoCOrganization Model.

    Args:
        See Google App Engine APIs.
    """

    db.Model.__init__(self, parent, key_name, app, **entity_values)

    Taggable.__init__(self, org_tag=OrgTag)
Ejemplo n.º 3
0
  def __init__(self, parent=None, key_name=None, 
               app=None, **entity_values):
    """Constructor for GHOPTask Model.
    
    Args:
        See Google App Engine APIs.
    """

    # explicitly call the AppEngine datastore Model constructor
    db.Model.__init__(self, parent, key_name, app, **entity_values)

    # call the Taggable constructor to initialize the tags specified as
    # keyword arguments
    Taggable.__init__(self, task_type=TaskTypeTag, 
                      difficulty=TaskDifficultyTag)
Ejemplo n.º 4
0
  def __init__(self, parent=None, key_name=None,
               app=None, **entity_values):
    """Constructor for GHOPTask Model.

    Args:
        See Google App Engine APIs.
    """

    # explicitly call the AppEngine datastore Model constructor
    # pylint: disable-msg=W0233
    db.Model.__init__(self, parent, key_name, app, **entity_values)

    # call the Taggable constructor to initialize the tags specified as
    # keyword arguments
    Taggable.__init__(self, task_type=TaskTypeTag,
                      difficulty=TaskDifficultyTag,
                      arbit_tag=TaskArbitraryTag)