mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-15 17:44:03 -05:00
Localize notification_utils to the admin
This changeset pulls in all of the notification_utils code directly into the admin and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the admin. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
3
notifications_utils/take.py
Normal file
3
notifications_utils/take.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class Take(str):
|
||||
def then(self, func, *args, **kwargs):
|
||||
return self.__class__(func(self, *args, **kwargs))
|
||||
Reference in New Issue
Block a user