Commit graph

6 commits

Author SHA1 Message Date
Candice Bentéjac
98d90dae81 [core] plugins: Rename getNodePlugin... to getRegisteredNodePlugin...
This prevents ambiguities between `NodePlugin` objects that have been
registered (and are thus instantiable) and those that belong to `Plugin`
objects but have not been registered.
2025-06-05 14:40:11 +02:00
Candice Bentéjac
88bee35443 [core] Replace nodesDesc with the NodePluginManager instance 2025-06-05 14:40:08 +02:00
Fabien Castan
41738f7f40 Modernize to python-3.9+ with pyupgrade (--py39-plus) 2025-04-30 19:18:54 +02:00
Fabien Castan
1d4ba577a9 Apply flynt to use f-strings 2025-04-30 19:13:53 +02:00
Candice Bentéjac
c3e8b8833f [core] checkTemplateVersions: Ensure nodes are not loaded several times
By performing a `initNodes()` every single time `checkTemplateVersions`
was called without ever unregistering the nodes, warnings about nodes
being already registered were raised when for example calling
`checkAllTemplatesVersions`.
2025-03-18 14:04:06 +00:00
Candice Bentéjac
cfa33b6442 [core] Add a test.py file that contains sanity methods used for validation
For now, it contains methods allowing to check whether a template provided
as an argument is valid (i.e. has no compatibility issue).

It performs a check that's very similar to what `test_templatesVersions`
was doing, but it allows this check to be performed from outside of
Meshroom.
2025-03-17 17:05:56 +01:00