SourceCodeofMongoRedis icon indicating copy to clipboard operation
SourceCodeofMongoRedis copied to clipboard

《左手MongoDB,右手Redis——从入门到商业实战》书籍配套源代码。

Results 16 SourceCodeofMongoRedis issues
Sort by recently updated
recently updated
newest added

https://github.com/kingname/SourceCodeofMongoRedis/blob/9cf64a084362991f1860a6c52abdbefba59c0790/chapter_7/import_example_data_1.py#L14 这里append的应该是row而不是rows。

# 问题再现 发送消息(由post_message视图函数处理)时,出现 ```python TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement. ``` # 原因 post_message视图函数中的expire_time返回-1或者-2,bool(-1) or...

# 现象 当MongoDB没有数据时,第一次“添加人员”会报错。 > IndexError: no such item for Cursor instance # 原因 定位在anwer/DataBaseManager.DataBaseManager中的_query_last_id。 ```python def _query_last_id(self): last_info = self.handler.find({}, {'_id': 0, 'id': 1}).sort('id', -1).limit(1) return last_info[0]['id'] if last_info else...

Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...

dependencies

Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...

dependencies

Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...

dependencies

Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...

dependencies

Bumps [redis](https://github.com/redis/redis-py) from 2.10.6 to 4.4.4. Release notes Sourced from redis's releases. 4.4.4 Changes Upgrade urgency: SECURITY, contains fixes to security issues. (CVE-2023-28859) - Cancelling an async future does not,...

dependencies

Bumps [redis](https://github.com/redis/redis-py) from 2.10.6 to 4.4.4. Release notes Sourced from redis's releases. 4.4.4 Changes Upgrade urgency: SECURITY, contains fixes to security issues. (CVE-2023-28859) - Cancelling an async future does not,...

dependencies

Bumps [redis](https://github.com/redis/redis-py) from 2.10.6 to 4.4.4. Release notes Sourced from redis's releases. 4.4.4 Changes Upgrade urgency: SECURITY, contains fixes to security issues. (CVE-2023-28859) - Cancelling an async future does not,...

dependencies