<s> """<STR_LIT>""" <EOL> def get_sharded_id_sequence_name ( model ) : <EOL> return '<STR_LIT>' % ( model . _meta . db_table , model . _meta . pk . column ) <EOL> def get_canonical_model ( model ) : <EOL> """<STR_LIT>""" <EOL> if is_partitioned ( model ) and model . _shards . is_child : <EOL> model = model . _shards . parent <EOL> return model <EOL> is_partitioned = lambda cls : hasattr ( cls , '<STR_LIT>' ) </s>
