def direct_to_class(amaasclass):
if amaasclass in ASSET:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>elif amaasclass in PARTY:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>elif amaasclass in TRANSACTION:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>elif amaasclass in BOOK:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>elif amaasclass in CORPORATE_ACTION:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>elif amaasclass in MARKET_DATA:<EOL><INDENT>return None <EOL><DEDENT>else:<EOL><INDENT>return CHILDREN_CLASS['<STR_LIT>']<EOL><DEDENT>
direct from amaasclass (first params given in the row) to the dictionary of the children class