pyrmute 0.2.0__py3-none-any.whl → 0.4.0__py3-none-any.whl

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.
pyrmute/__init__.py CHANGED
@@ -1,9 +1,8 @@
1
- """pyrmute - versioned Pydantic models and schemas with migrations.
2
-
3
- A package for managing versioned Pydantic models with automatic migrations
4
- and schema management.
5
- """
1
+ """pyrmute - versioned Pydantic models and schemas with migrations."""
6
2
 
3
+ from ._migration_manager import MigrationManager
4
+ from ._registry import Registry
5
+ from ._schema_manager import SchemaManager
7
6
  from ._version import __version__
8
7
  from .exceptions import (
9
8
  InvalidVersionError,
@@ -13,6 +12,7 @@ from .exceptions import (
13
12
  )
14
13
  from .migration_testing import (
15
14
  MigrationTestCase,
15
+ MigrationTestCases,
16
16
  MigrationTestResult,
17
17
  MigrationTestResults,
18
18
  )
@@ -21,27 +21,29 @@ from .model_manager import ModelManager
21
21
  from .model_version import ModelVersion
22
22
  from .types import (
23
23
  JsonSchema,
24
- JsonValue,
25
- MigrationData,
26
24
  MigrationFunc,
27
- ModelMetadata,
25
+ ModelData,
26
+ NestedModelInfo,
28
27
  )
29
28
 
30
29
  __all__ = [
31
30
  "InvalidVersionError",
32
31
  "JsonSchema",
33
- "JsonValue",
34
- "MigrationData",
35
32
  "MigrationError",
36
33
  "MigrationFunc",
34
+ "MigrationManager",
37
35
  "MigrationTestCase",
36
+ "MigrationTestCases",
38
37
  "MigrationTestResult",
39
38
  "MigrationTestResults",
39
+ "ModelData",
40
40
  "ModelDiff",
41
41
  "ModelManager",
42
- "ModelMetadata",
43
42
  "ModelNotFoundError",
44
43
  "ModelVersion",
44
+ "NestedModelInfo",
45
+ "Registry",
46
+ "SchemaManager",
45
47
  "VersionedModelError",
46
48
  "__version__",
47
49
  ]