예제 #1
0
    def from_dict(cls, dikt) -> 'MasteryEstimate':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The MasteryEstimate of this MasteryEstimate.  # noqa: E501
        :rtype: MasteryEstimate
        """
        return util.deserialize_model(dikt, cls)
예제 #2
0
    def from_dict(cls, dikt) -> 'ActivityAttemptCounter':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ActivityAttemptCounter of this ActivityAttemptCounter.  # noqa: E501
        :rtype: ActivityAttemptCounter
        """
        return util.deserialize_model(dikt, cls)
예제 #3
0
    def from_dict(cls, dikt) -> 'CompetencyAchievement':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The CompetencyAchievement of this CompetencyAchievement.  # noqa: E501
        :rtype: CompetencyAchievement
        """
        return util.deserialize_model(dikt, cls)
예제 #4
0
파일: goal.py 프로젝트: soartech/fluent
    def from_dict(cls, dikt) -> 'Goal':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Goal of this Goal.  # noqa: E501
        :rtype: Goal
        """
        return util.deserialize_model(dikt, cls)
예제 #5
0
    def from_dict(cls, dikt) -> 'MasteryProbability':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The MasteryProbability of this MasteryProbability.  # noqa: E501
        :rtype: MasteryProbability
        """
        return util.deserialize_model(dikt, cls)
예제 #6
0
파일: error.py 프로젝트: soartech/fluent
    def from_dict(cls, dikt) -> 'Error':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Error of this Error.  # noqa: E501
        :rtype: Error
        """
        return util.deserialize_model(dikt, cls)
예제 #7
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)