pyrmute 0.3.0__py3-none-any.whl → 0.5.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 +6 -0
- pyrmute/_migration_manager.py +511 -126
- pyrmute/_registry.py +0 -8
- pyrmute/_schema_manager.py +202 -31
- pyrmute/_version.py +2 -2
- pyrmute/migration_testing.py +4 -1
- pyrmute/model_manager.py +239 -139
- pyrmute/schema_config.py +130 -0
- pyrmute/types.py +3 -2
- {pyrmute-0.3.0.dist-info → pyrmute-0.5.0.dist-info}/METADATA +235 -66
- pyrmute-0.5.0.dist-info/RECORD +18 -0
- pyrmute-0.3.0.dist-info/RECORD +0 -17
- {pyrmute-0.3.0.dist-info → pyrmute-0.5.0.dist-info}/WHEEL +0 -0
- {pyrmute-0.3.0.dist-info → pyrmute-0.5.0.dist-info}/licenses/LICENSE +0 -0
- {pyrmute-0.3.0.dist-info → pyrmute-0.5.0.dist-info}/top_level.txt +0 -0
pyrmute/__init__.py
CHANGED
@@ -12,14 +12,17 @@ from .exceptions import (
|
|
12
12
|
)
|
13
13
|
from .migration_testing import (
|
14
14
|
MigrationTestCase,
|
15
|
+
MigrationTestCases,
|
15
16
|
MigrationTestResult,
|
16
17
|
MigrationTestResults,
|
17
18
|
)
|
18
19
|
from .model_diff import ModelDiff
|
19
20
|
from .model_manager import ModelManager
|
20
21
|
from .model_version import ModelVersion
|
22
|
+
from .schema_config import SchemaConfig
|
21
23
|
from .types import (
|
22
24
|
JsonSchema,
|
25
|
+
JsonSchemaMode,
|
23
26
|
MigrationFunc,
|
24
27
|
ModelData,
|
25
28
|
NestedModelInfo,
|
@@ -28,10 +31,12 @@ from .types import (
|
|
28
31
|
__all__ = [
|
29
32
|
"InvalidVersionError",
|
30
33
|
"JsonSchema",
|
34
|
+
"JsonSchemaMode",
|
31
35
|
"MigrationError",
|
32
36
|
"MigrationFunc",
|
33
37
|
"MigrationManager",
|
34
38
|
"MigrationTestCase",
|
39
|
+
"MigrationTestCases",
|
35
40
|
"MigrationTestResult",
|
36
41
|
"MigrationTestResults",
|
37
42
|
"ModelData",
|
@@ -41,6 +46,7 @@ __all__ = [
|
|
41
46
|
"ModelVersion",
|
42
47
|
"NestedModelInfo",
|
43
48
|
"Registry",
|
49
|
+
"SchemaConfig",
|
44
50
|
"SchemaManager",
|
45
51
|
"VersionedModelError",
|
46
52
|
"__version__",
|