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
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
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