Skip to content

Commit

Permalink
Remove 2 more left overs of DataView
Browse files Browse the repository at this point in the history
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
  • Loading branch information
oz123 committed Apr 25, 2024
1 parent 94967bc commit 8e22327
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plette/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Lockfile", "Pipfile",
]

__version__ = '2.0.1'
__version__ = '2.0.2'

from .lockfiles import Lockfile
from .pipfiles import Pipfile
4 changes: 2 additions & 2 deletions src/plette/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__all__ = [
"DataView", "DataModelCollection", "DataModelMapping", "DataModelSequence",
"validate", "DataValidationError",
"DataModel", "DataModelCollection", "DataModelMapping", "DataModelSequence",
"DataValidationError",
"Hash", "Package", "Requires", "Source", "Script",
"Meta", "PackageCollection", "ScriptCollection", "SourceCollection",
]
Expand Down
2 changes: 1 addition & 1 deletion src/plette/pipfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __getitem__(self, key):
return value

def __setitem__(self, key, value):
if isinstance(value, DataView):
if isinstance(value, DataModel):
self._data[key] = value._data
else:
self._data[key] = value
Expand Down

0 comments on commit 8e22327

Please sign in to comment.