def __init__(self, term, chamber, district, full_name,
                 first_name='', last_name='', middle_name='',
                 party='', **kwargs):
        """
        Create a Legislator.

        :param term: the term for this legislator
        :param chamber: the chamber in which this legislator served,
          'upper' or 'lower'
        :param district: the district this legislator is representing, as given
           e.g. 'District 2', '7th', 'District C'.
        :param full_name: the full name of this legislator
        :param first_name: the first name of this legislator (if specified)
        :param last_name: the last name of this legislator (if specified)
        :param middle_name: a middle name or initial of this legislator
          (if specified)
        :param party: the party this legislator belongs to (if specified)

        .. note::

            please only provide the first_name, middle_name and last_name
            parameters if they are listed on the official web site; do not
            try to split the legislator's full name into components yourself.
        """
        super(Legislator, self).__init__(full_name, first_name,
                                         last_name, middle_name,
                                         **kwargs)
        self.add_role('member', term, chamber=chamber, district=district,
                      party=party)
def __init__ ( self , term , chamber , district , full_name , first_name = '' , last_name = '' , middle_name = '' , party = '' , ** kwargs ) : super ( Legislator , self ) . __init__ ( full_name , first_name , last_name , middle_name , ** kwargs ) self . add_role ( 'member' , term , chamber = chamber , district = district , party = party )
Create a Legislator.

        :param term: the term for this legislator
        :param chamber: the chamber in which this legislator served,
          'upper' or 'lower'
        :param district: the district this legislator is representing, as given
           e.g. 'District 2', '7th', 'District C'.
        :param full_name: the full name of this legislator
        :param first_name: the first name of this legislator (if specified)
        :param last_name: the last name of this legislator (if specified)
        :param middle_name: a middle name or initial of this legislator
          (if specified)
        :param party: the party this legislator belongs to (if specified)

        .. note::

            please only provide the first_name, middle_name and last_name
            parameters if they are listed on the official web site; do not
            try to split the legislator's full name into components yourself.