Bump -utils to 55.0.0

This renames "delete_cache_keys_by_pattern" to match the new method
name, which will also catch exceptions if Redis is down [1].

Note that this also includes a change to RecipientCSV [2], which has
no effect because the new default is the same as the old behaviour.

[1]: https://github.com/alphagov/notifications-utils/pull/949
[2]: https://github.com/alphagov/notifications-utils/pull/947/files#diff-a8a994bf655634f89dc7439880708b4ff0d780ac1bd8033827d8aaa2692a8e0fR373
This commit is contained in:
Ben Thorner
2022-02-22 10:47:04 +00:00
parent f827a825a1
commit 81d9c73543
7 changed files with 17 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ from app.notify_client import NotifyAdminAPIClient, _attach_current_user, cache
class ServiceAPIClient(NotifyAdminAPIClient):
def _delete_template_cache_for_service(self, service_id):
redis_client.delete_cache_keys_by_pattern(f"service-{service_id}-template-*")
redis_client.delete_by_pattern(f"service-{service_id}-template-*")
@cache.delete('user-{user_id}')
def create_service(