Author

class Author(**data)[source]

Bases: BaseModel

An author.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Attributes Summary

name

Get the name of the author.

Attributes Documentation

name

Get the name of the author.

Return type

str