示例#1
0
 def __init__(self, key, alias=None, chained=False):
     super(LoadEagerFromAliasOption, self).__init__(key)
     if alias is not None:
         if not isinstance(alias, str):
             m, alias, is_aliased_class = mapperutil._entity_info(alias)
     self.alias = alias
     self.chained = chained
示例#2
0
 def __init__(self, key, alias=None, chained=False):
     super(LoadEagerFromAliasOption, self).__init__(key)
     if alias is not None:
         if not isinstance(alias, basestring):
             m, alias, is_aliased_class = mapperutil._entity_info(alias)
     self.alias = alias
     self.chained = chained
示例#3
0
 def __init__(self, key, alias=None):
     super(LoadEagerFromAliasOption, self).__init__(key)
     if alias:
         if not isinstance(alias, basestring):
             m, alias, is_aliased_class = mapperutil._entity_info(alias)
     self.alias = alias