-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mongodb-backend * update ci * use mongo docker action * use pymongo instead of mongoengine * fix typing error * use mongo bulk operations to improve efficiency * Update CHANGES.rst * allow providing mongodb client * update documentation * move pymongo import to class constructor * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test mongodb cache index * recompile requirements * add change log --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: northernSage <[email protected]>
- Loading branch information
1 parent
bf1f8fd
commit b76abc3
Showing
13 changed files
with
333 additions
and
111 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 |
---|---|---|
|
@@ -42,6 +42,10 @@ jobs: | |
sudo apt-get install libmemcached-dev memcached redis-server | ||
- name: setup dynamodb-local | ||
uses: rrainn/[email protected] | ||
- name: Start MongoDB | ||
uses: wbari/[email protected] | ||
with: | ||
mongoDBVersion: 'latest' | ||
- name: update pip | ||
run: | | ||
pip install -U wheel | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ from Werkzeug. | |
memcached | ||
uwsgi | ||
dynamodb | ||
mongodb | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
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 @@ | ||
MongoDb Backend | ||
=============== | ||
|
||
.. automodule:: cachelib.mongodb | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ redis | |
uwsgi | ||
pytest-xprocess | ||
boto3 | ||
pymongo |
Oops, something went wrong.