30 NoneType = "none"
31
32 class GenerationResult:
33 """ 34 A class that represents the result of the art generation.
35 """
36 def __init__(self, images: List[str], next_prompt: str, duration: float):
21 """
22
23 class Model:
24 """ 25 A class that contains constants for the available models.
26 """
27 Art = "art"
If a docstring fits in a single line (72 characters according to PEP8), it is recommended to have the quotes on the same line.
def foo():
"""
Runs bar and returns baz.
"""
baz = bar()
return baz
def foo():
"""Runs bar and returns baz."""
baz = bar()
return baz