mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +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 nodes types used in the graph.
|
||||
- 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[GraphIO.Keys.ReleaseVersion] = meshroom.__version__
|
||||
|
|
|
@ -18,10 +18,10 @@ def nodeFactory(
|
|||
If any compatibility issue occurs, a NodeCompatibility instance is created instead.
|
||||
|
||||
Args:
|
||||
nodeDict: The serialized Node data.
|
||||
name: (optional) The node's name.
|
||||
inTemplate: (optional) 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.
|
||||
nodeData: The serialized Node data.
|
||||
name: The node's name.
|
||||
inTemplate: True if the node is created as part of a graph template.
|
||||
expectedUid: The expected UID of the node within the context of a Graph.
|
||||
|
||||
Returns:
|
||||
The created Node instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue