sprockets.mixins.metrics/sprockets/mixins/metrics/__init__.py

14 lines
351 B
Python
Raw Normal View History

2016-02-01 19:48:46 +00:00
try:
from .influxdb import InfluxDBMixin
from .statsd import StatsdMixin
except ImportError as error:
def InfluxDBMixin(*args, **kwargs):
raise error
def StatsdMixin(*args, **kwargs):
raise error
2016-01-19 12:51:09 +00:00
2016-02-01 15:17:09 +00:00
version_info = (1, 0, 0)
2016-01-18 20:32:49 +00:00
__version__ = '.'.join(str(v) for v in version_info)
__all__ = ['InfluxDBMixin', 'StatsdMixin']