Skip to content

Commit 1028c4b

Browse files
author
Xiaozhou Li
committed
Use comment for typing indication for backward compatibility
1 parent f132ccf commit 1028c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Charon/filetypes/OpenPackagingConvention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class OpenPackagingConvention(FileInterface):
2525
_global_metadata_file = "/Metadata/OPC_Global.json" # Where the global metadata file is.
2626
_opc_metadata_relationship_type = "http://schemas.ultimaker.org/package/2018/relationships/opc_metadata" # Unique identifier of the relationship type that relates OPC metadata to files.
2727
_metadata_prefix = "/metadata"
28-
_aliases:Dict[str, str] = OrderedDict([]) # A standard OPC file doest not have default aliases. These must be implemented in inherited classes.
28+
_aliases = OrderedDict([]) # type: Dict[str, str] # A standard OPC file doest not have default aliases. These must be implemented in inherited classes.
2929

3030
mime_type = "application/x-opc"
3131

0 commit comments

Comments
 (0)