model.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Orator-Google-App-Engine 作者: MakarenaLabs 项目源码 文件源码
def _get_attribute_value(self, key):
        """
        Get a plain attribute.

        :param key: The attribute to get
        :type key: str
        """
        value = self._get_attribute_from_dict(key)

        if self._has_cast(key):
            value = self._cast_attribute(key, value)
        elif key in self.get_dates():
            if value is not None:
                return self.as_datetime(value)

        return value
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号