Skip to content

Commit

Permalink
Version 1.1.8
Browse files Browse the repository at this point in the history
Merge pull request #18 from Djcharles26/work
  • Loading branch information
Djcharles26 authored Aug 17, 2021
2 parents f370928 + f280285 commit 90fb247
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
## Minor updates
- Corrected exists method
- Added more logs in check validations of required and types
- Fixed date validator type
2 changes: 1 addition & 1 deletion pymongoose/mongo_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _item_type_check(self, key, type, item_type):
Logger.printError(f"key {key} has an incorrect type")
return False
elif type == Types.Date:
if item_type is datetime:
if "datetime.datetime" in str(item_type):
return True
else:
if methods.debug_log:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pymongoose
version = 1.1.7
version = 1.1.8
author = Juan Carlos Lara
author_email = jlaraanaya@gmail.com
description = A pymongo helper with methods and classes
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.7
1.1.8

0 comments on commit 90fb247

Please sign in to comment.