Skip to content

Commit 5911200

Browse files
Merge pull request #114 from phenobarbital/new-mutables
New mutables
2 parents 7349bd1 + deb7f19 commit 5911200

22 files changed

+964
-40296
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DataModel
2-
DataModel is a simple library based on python +3.7 to use Dataclass-syntax for interacting with
2+
DataModel is a simple library based on python +3.8 to use Dataclass-syntax for interacting with
33
Data, using the same syntax of Dataclass, users can write Python Objects
4-
and work with Data in the same way, is a reimplementation of python Dataclasses supporting true inheritance (without decorators), true composition and other good features.
4+
and work with Data in the same way (like ORM's), is a reimplementation of python Dataclasses supporting true inheritance (without decorators), true composition and other good features.
55

66
The key features are:
77
* **Easy to use**: No more using decorators, concerns abour re-ordering attributes or common problems with using dataclasses with inheritance.

datamodel/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
DataModel is a reimplementation of dataclasses with true inheritance and composition.
55
"""
66
from datamodel.fields import Field, Column, fields
7-
from .base import Model, BaseModel
7+
from .models import Model
8+
from .base import BaseModel
89
from .version import (
910
__title__, __description__, __version__, __author__, __author_email__
1011
)

0 commit comments

Comments
 (0)