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

14 lines
382 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)
2016-02-01 19:49:19 +00:00
__all__ = ['__version__', 'version_info', 'InfluxDBMixin', 'StatsdMixin']