Docstrings
Understand how to format and write docstrings to ensure your Book is well-documented.
Format
Supported Sections
1. Arguments and Parameters
@procedure("to add two numbers")
def add_numbers(a: int, b: int = 0) -> int:
"""
Adds two numbers together.
Args:
a: The first number.
b: The second number. Defaults to 0.
"""
return a + b2. Return Values
3. Error Handling
4. Instance Attributes
5. Code Authors
6. Labels
7. OAuth Labels
8. OAuth Arguments
9. Input Concepts
10. Output Concepts
11. Examples
Last updated
Was this helpful?

