dreipol / django-easy-eddie Goto Github PK
View Code? Open in Web Editor NEWThis Django package sends your text messages (SMS) through Amazon SNS and provides reporting helpers.
License: MIT License
This Django package sends your text messages (SMS) through Amazon SNS and provides reporting helpers.
License: MIT License
As I want to fetch all unfetched logs once an hour with celery, it would be great to have a helper function i can put into my task directly.
At the moment you have to use almost the same code from the management command by copy/pasting it into the celery taskL
sms_events = SMSEvent.objects.filter(fetched_cloud_watch_log__isnull=True)
fetch_log_events(sms_events=sms_events, log_group_names=CLOUD_WATCH_LOG_GROUP_NAMES)
Nice would be if there is either something like this:
from easy_eddie.helpers import fetch_latest_log_events
fetch_latest_log_events()
or
fetch_log_events(sms_events=SMSEvent.objects.unfetched(), log_group_names=CLOUD_WATCH_LOG_GROUP_NAMES)
In that case, I would prefer to have the log_group_names be defaulted to the params defined in the settings:
fetch_log_events(sms_events=SMSEvent.objects.unfetched())
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.