docs: def from_yaml(cls, data: str, force_snake_case=True, force_cast: bool=False, restrict: bool=True) -> T:
          """From yaml string to instance
  
          :param data: Yaml string
          :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True
          :param force_cast: Cast forcibly if True
          :param restrict: Prohibit extra parameters if True
          :return: Instance
  
          Usage:
  
              >>> from owlmixin.samples import Human
              >>> human: Human = Human.from_yaml('''
              ... id: 1
              ... name: Tom
              ... favorites:
              ...   - name: Apple
              ...     names_by_lang:
              ...       en: Apple
              ...       de: Apfel
              ...   - name: Orange
              ... ''')
              >>> human.id
              1
              >>> human.name
              'Tom'
              >>> human.favorites[0].names_by_lang.get()["de"]
              'Apfel'
          """
          return cls.from_dict(util.load_yaml(data),
                               force_snake_case=force_snake_case,
                               force_cast=force_cast,
                               restrict=restrict)