def _get_deterministic_value_for_table_name(table_name, max_value):
 return (hash(table_name) % max_value)

def _get_deterministic_value_for_table_name ( table_name , max_value ) : return ( hash ( table_name ) % max_value )
for a given table_name .