-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
602 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
|
||
#### v0.0.0a3 | ||
|
||
* Add only() function to query. This adds [projection's support](https://cloud.google.com/datastore/docs/concepts/queries#projections). | ||
* Add sync() to a DSEntity. It basically fetches the data from datastore to our entity. It comes handy when projection is used in a query and you don't want to delete other columns on the entity. | ||
* Add force_sync parameter to all() query method. Forces a sync() before saving to datastore. A "safe save" if you will. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.PHONY: test | ||
|
||
test: | ||
python -m unittest discover tests/ | ||
|
||
coverage: | ||
PYTHONPATH=. coverage run --source datastorm setup.py test | ||
coverage html | ||
coverage report -m | ||
|
||
clean: | ||
rm -rf build | ||
rm -rf datastorm.egg-info | ||
rm -rf dist | ||
rm -rf htmlcov | ||
rm .coverage | ||
|
||
upload: | ||
python setup.py bdist_wheel | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.