22 lines
388 B
Python
22 lines
388 B
Python
|
# Copyright (c) 2010-2022 openpyxl
|
||
|
|
||
|
|
||
|
from openpyxl.descriptors.serialisable import Serialisable
|
||
|
from openpyxl.descriptors import (
|
||
|
Sequence,
|
||
|
Alias
|
||
|
)
|
||
|
|
||
|
|
||
|
class AuthorList(Serialisable):
|
||
|
|
||
|
tagname = "authors"
|
||
|
|
||
|
author = Sequence(expected_type=str)
|
||
|
authors = Alias("author")
|
||
|
|
||
|
def __init__(self,
|
||
|
author=(),
|
||
|
):
|
||
|
self.author = author
|