コード例 #1
0
    def from_dict(cls, dikt):
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The UniversalResource of this UniversalResource.  # noqa: E501
        :rtype: UniversalResource
        """
        return util.deserialize_model(dikt, cls)
コード例 #2
0
ファイル: content_file.py プロジェクト: NGenetzky/jatdb
    def from_dict(cls, dikt):
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ContentFile of this ContentFile.  # noqa: E501
        :rtype: ContentFile
        """
        return util.deserialize_model(dikt, cls)
コード例 #3
0
    def from_dict(cls, dikt):
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The TrelloQuery of this TrelloQuery.  # noqa: E501
        :rtype: TrelloQuery
        """
        return util.deserialize_model(dikt, cls)
コード例 #4
0
ファイル: base_model_.py プロジェクト: NGenetzky/jatdb
 def from_dict(cls, dikt):
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)