<s> from lampost . context . config import m_configured <EOL> from lampost . datastore . dbo import KeyDBO , DBOAccess <EOL> from lampost . datastore . dbofield import DBOField , DBOLField <EOL> m_configured ( __name__ , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> class Archetype ( DBOAccess , KeyDBO ) : <EOL> dbo_key_type = '<STR_LIT>' <EOL> dbo_set_key = '<STR_LIT>' <EOL> name = DBOField ( "<STR_LIT>" ) <EOL> desc = DBOField ( '<STR_LIT>' ) <EOL> base_attrs = DBOField ( { } ) <EOL> class PlayerRace ( Archetype ) : <EOL> dbo_key_type = "<STR_LIT>" <EOL> dbo_set_key = "<STR_LIT>" <EOL> default_skills = DBOField ( [ ] , '<STR_LIT>' ) <EOL> start_room = DBOLField ( dbo_class_id = '<STR_LIT>' ) <EOL> start_instanced = DBOField ( False ) <EOL> @ classmethod <EOL> def new_dto ( cls ) : <EOL> dto = super ( ) . new_dto ( ) <EOL> dto [ '<STR_LIT>' ] = default_start_room <EOL> dto [ '<STR_LIT>' ] = { attr [ '<STR_LIT>' ] : base_attr_value for attr in attributes } <EOL> return dto </s>
