Python configs.get_config() Examples
The following are 1
code examples of configs.get_config().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
configs
, or try the search function
.
Example #1
Source File: events.py From go-links with Apache License 2.0 | 5 votes |
def _deliver_event(event_id, event_type, timestamp, object_type, object_data): object_data['object'] = object_type event_object = {'id': event_id, 'type': event_type, 'created': timestamp, 'data': {'object': object_data}} for url in configs.get_config().get('event_subscribers', []): deferred.defer(_deliver_event_to_url, url, event_object, _queue='events')