@loader_option()
def subqueryload(loadopt, attr):
 return loadopt.set_relationship_strategy(attr, {'lazy': 'subquery'})

@ loader_option ( ) def subqueryload ( loadopt , attr ) : return loadopt . set_relationship_strategy ( attr , { 'lazy' : 'subquery' } )
indicate that the given attribute should be loaded using subquery eager loading .