Write a function that generates a docstring in the Google type

Write a function that generates a docstring in the Google type, based on the definition of the init function. The function should take a set of parameters in the form of a dictionary.

{'Args': None, 'Returns': None, 'Raises': None, 'Attributes': None, 'Summary': None, 'Description': None}

Required output is:

'''
The Pear object describes the properties of pears.

Args:
a: 
b: 

Attributes:
a:  parameter a
b:  parameter b

'''

And honestly I have no idea how to even start this one. Please any tips?

A bit of string formatting could get you there-
Python2 based but useful info-
https://pyformat.info/
More general-

Yeah but how to get these dict values in init function, I’ve just started OOP so i don’t really know how to solve this one.