mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Convert doxygen to rst for X3DReader, XmlMaterialProfile, XRayView
This commit is contained in:
parent
6035adb963
commit
5af9faf5e5
3 changed files with 56 additions and 36 deletions
|
@ -3,11 +3,14 @@
|
|||
|
||||
from typing import Any, Dict
|
||||
|
||||
## Makes sure that the required metadata is present for a material.
|
||||
|
||||
class XmlMaterialValidator:
|
||||
## Makes sure that the required metadata is present for a material.
|
||||
"""Makes sure that the required metadata is present for a material."""
|
||||
|
||||
@classmethod
|
||||
def validateMaterialMetaData(cls, validation_metadata: Dict[str, Any]):
|
||||
"""Makes sure that the required metadata is present for a material."""
|
||||
|
||||
|
||||
if validation_metadata.get("GUID") is None:
|
||||
return "Missing GUID"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue