yaml_resume.resume.profile module

class yaml_resume.resume.profile.Profile(network, url)

Bases: yaml.YAMLObject

Class corresponding to a profile on social network.

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

  • url (str) – The url of the profile.

ask()

Interactively create a Profile object.

Returns

A Profile object from privided answers.

load()

Load dictionary and returns a Profile object

Parameters

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

Returns

A Profile object.

yaml_tag = 'Profile'