<s> """<STR_LIT>""" <EOL> class Person : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> """<STR_LIT>""" <EOL> self . person_base = self . tree_base + '<STR_LIT>' <EOL> def persons ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base [ : : - <NUM_LIT:1> ] <EOL> def person ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid <EOL> def person_parents ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_spouses ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_children ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . get ( self . person_base + pid + "<STR_LIT>" ) <EOL> def spouse_relationships ( self , pid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . person_base + pid + '<STR_LIT>' , kwargs ) <EOL> def child_relationships ( self , pid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . person_base + pid + '<STR_LIT>' , kwargs ) <EOL> def parent_relationships ( self , pid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . person_base + pid + '<STR_LIT>' , kwargs ) <EOL> def person_with_relationships ( self , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . tree_base + "<STR_LIT>" , kwargs ) <EOL> def person_conclusion ( self , pid , cid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + cid <EOL> def person_source_references ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_source_reference ( self , pid , srid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + srid <EOL> def person_sources_query ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_note ( self , pid , nid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + nid <EOL> def person_discussion_references ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_discussion_reference ( self , pid , drid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + drid <EOL> def person_merge ( self , pid , dpid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . person_base + pid + "<STR_LIT>" + dpid , kwargs ) <EOL> def person_change_summary ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_not_a_match ( self , pid , dpid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + dpid <EOL> def person_restore ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def preferred_spouse_relationship ( self , pid , uid = None ) : <EOL> """<STR_LIT>""" <EOL> if uid is None : <EOL> uid = self . user [ '<STR_LIT>' ] <EOL> return self . user_base + uid + "<STR_LIT>" + pid <EOL> def preferred_parent_relationship ( self , pid , uid = None ) : <EOL> """<STR_LIT>""" <EOL> if uid is None : <EOL> uid = self . user [ '<STR_LIT>' ] <EOL> return self . user_base + uid + "<STR_LIT>" + pid <EOL> def person_memories ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( <EOL> self . person_base + pid + "<STR_LIT>" , kwargs ) <EOL> def person_memory_references ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" <EOL> def person_memory_reference ( self , pid , erid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + pid + "<STR_LIT>" + erid <EOL> def person_memories_portrait ( self , pid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_query_params ( self . person_base + pid + "<STR_LIT>" , kwargs ) <EOL> def person_portraits ( self , pid ) : <EOL> """<STR_LIT>""" <EOL> return self . person_base + "<STR_LIT>" </s>
