#NEWLINE# @ object_injected . connect_via ( InjectableClass ) #NEWLINE# def injectable_injected( cls , conditions , **kwargs ) : #NEWLINE# #INDENT# for c in conditions : #NEWLINE# #INDENT# ( k , v ) = c #NEWLINE# if ( ( k == 'slug_name' ) and ( v == 'joe-slug' ) ) : #NEWLINE# #INDENT# return InjectableClass ( ) #NEWLINE# #UNINDENT# if ( ( k == 'category_name' ) and ( v == 'apples' ) ) : #NEWLINE# #INDENT# return [ InjectableClass ( ) , InjectableClass ( ) , InjectableClass ( ) ]