Mark many attributes as read-only properties (#7591)

This commit is contained in:
Alex Waygood
2022-04-05 07:37:24 +01:00
committed by GitHub
parent b8f2eb3930
commit 85aec034ae
28 changed files with 189 additions and 93 deletions

View File

@@ -122,8 +122,10 @@ class ImageFileDirectory_v2(MutableMapping[int, Any]):
class ImageFileDirectory_v1(ImageFileDirectory_v2):
def __init__(self, *args, **kwargs) -> None: ...
tags: Any
tagdata: Any
@property
def tags(self): ...
@property
def tagdata(self): ...
tagtype: dict[int, int]
@classmethod
def from_v2(cls, original): ...