author.py 388 B

123456789101112131415161718192021
  1. # Copyright (c) 2010-2024 openpyxl
  2. from openpyxl.descriptors.serialisable import Serialisable
  3. from openpyxl.descriptors import (
  4. Sequence,
  5. Alias
  6. )
  7. class AuthorList(Serialisable):
  8. tagname = "authors"
  9. author = Sequence(expected_type=str)
  10. authors = Alias("author")
  11. def __init__(self,
  12. author=(),
  13. ):
  14. self.author = author