yaml_resume.resume.hobby module

class yaml_resume.resume.hobby.Hobby(name, details)

Bases: yaml.YAMLObject

Class corresponding to a Hobby.

Parameters
  • name (str) – The name of the hobby.

  • details (str) – More details regarding the hobby.

ask()

Interactively create the hobbies section of a resume.

Returns

A list of Hobby objects.

load()

Load dictionary and returns a Hobby object.

Parameters

data (dict[]) – A dictionary loaded from a yaml file.

Returns

A Hobby object.

yaml_tag = 'Hobby'