mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 11:51:58 +02:00
[core][io] return file features as tuple
This commit is contained in:
parent
ac4772fc57
commit
62dbf7df95
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ class Graph(BaseObject):
|
|||
fileVersion (str, Version): the file version
|
||||
|
||||
Returns:
|
||||
list of Graph.IO.Features: the list of supported features
|
||||
tuple of Graph.IO.Features: the list of supported features
|
||||
"""
|
||||
if isinstance(fileVersion, str):
|
||||
fileVersion = Version(fileVersion)
|
||||
|
@ -202,7 +202,7 @@ class Graph(BaseObject):
|
|||
]
|
||||
if fileVersion >= Version("1.1"):
|
||||
features += [Graph.IO.Features.NodesPositions]
|
||||
return features
|
||||
return tuple(features)
|
||||
|
||||
def __init__(self, name, parent=None):
|
||||
super(Graph, self).__init__(parent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue