mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-14 16:52:01 +02:00
[core] Minor docstrings cleanup
This commit is contained in:
parent
4e29b83226
commit
0035dc56ae
2 changed files with 4 additions and 8 deletions
|
@ -89,10 +89,6 @@ class GraphSerializer:
|
||||||
- version of the file format.
|
- version of the file format.
|
||||||
- version of the nodes types used in the graph.
|
- version of the nodes types used in the graph.
|
||||||
- template flag.
|
- template flag.
|
||||||
|
|
||||||
Args:
|
|
||||||
nodes: (optional) The list of nodes to consider for node types versions - use all nodes if not specified.
|
|
||||||
template: Whether the graph is going to be serialized as a template.
|
|
||||||
"""
|
"""
|
||||||
header: dict[str, Any] = {}
|
header: dict[str, Any] = {}
|
||||||
header[GraphIO.Keys.ReleaseVersion] = meshroom.__version__
|
header[GraphIO.Keys.ReleaseVersion] = meshroom.__version__
|
||||||
|
|
|
@ -18,10 +18,10 @@ def nodeFactory(
|
||||||
If any compatibility issue occurs, a NodeCompatibility instance is created instead.
|
If any compatibility issue occurs, a NodeCompatibility instance is created instead.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
nodeDict: The serialized Node data.
|
nodeData: The serialized Node data.
|
||||||
name: (optional) The node's name.
|
name: The node's name.
|
||||||
inTemplate: (optional) True if the node is created as part of a graph template.
|
inTemplate: True if the node is created as part of a graph template.
|
||||||
expectedUid: (optional) The expected UID of the node within the context of a Graph.
|
expectedUid: The expected UID of the node within the context of a Graph.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
The created Node instance.
|
The created Node instance.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue