# Released under the MIT License. See LICENSE for details.#"""Functionality related to game builds."""from__future__importannotationsimportdatetimefromdataclassesimportdataclass,fieldfromtypingimportTYPE_CHECKING,Annotatedfromefro.dataclassioimportioprepped,IOAttrsifTYPE_CHECKING:pass
[docs]@ioprepped@dataclassclassBuildInfoSet:"""Set of build infos."""
[docs]@dataclassclassEntry:"""Info about a particular app build."""filename:strsize:intversion:strbuild_number:intchecksum:strcreatetime:datetime.datetime
builds:list[Entry]=field(default_factory=list)
# Docs-generation hack; import some stuff that we likely only forward-declared# in our actual source code so that docs tools can find it.fromtypingimport(Coroutine,Any,Literal,Callable,Generator,Awaitable,Sequence,Self)importasynciofromconcurrent.futuresimportFuture