@mat3ra/made 2026.3.3-0 → 2026.3.10-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/made",
3
- "version": "2026.3.3-0",
3
+ "version": "2026.3.10-0",
4
4
  "description": "MAterials DEsign library",
5
5
  "scripts": {
6
6
  "lint": "eslint --cache src/js tests/js && prettier --write src/js tests/js",
@@ -4,7 +4,7 @@ from typing import Any, List, Optional, Union
4
4
  from mat3ra.code.constants import AtomicCoordinateUnits, Units
5
5
  from mat3ra.code.entity import HasDescriptionHasMetadataNamedDefaultableInMemoryEntityPydantic
6
6
  from mat3ra.esse.models.material import MaterialSchema
7
- from pydantic import SkipValidation
7
+ from pydantic import ConfigDict, SkipValidation
8
8
 
9
9
  from .basis import Basis
10
10
  from .lattice import Lattice
@@ -54,6 +54,8 @@ defaultMaterialConfig = {
54
54
 
55
55
  # TODO: replace `-Pydantic` with actual class in the next PR
56
56
  class Material(MaterialSchema, HasDescriptionHasMetadataNamedDefaultableInMemoryEntityPydantic):
57
+ model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True)
58
+
57
59
  __default_config__ = defaultMaterialConfig
58
60
  __schema__ = MaterialSchema
59
61