Added order=True for FIleInfo to make sure that order of fields is preserved.
This commit is contained in:
parent
caf18a1bf0
commit
6373518dc3
@ -5,7 +5,7 @@ from dataclasses import dataclass
|
|||||||
__all__ = ["FileInfo"]
|
__all__ = ["FileInfo"]
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True, order=True)
|
||||||
class FileInfo:
|
class FileInfo:
|
||||||
"""Stores information about a file.
|
"""Stores information about a file.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user