__init__.py 408 B

1234567891011121314
  1. __author__ = 'Charles Leifer'
  2. __license__ = 'MIT'
  3. __version__ = '1.10.4'
  4. from huey.api import crontab
  5. from huey.api import Huey
  6. try:
  7. from huey.storage import RedisHuey
  8. except ImportError:
  9. class RedisHuey(object):
  10. def __init__(self, *args, **kwargs):
  11. raise RuntimeError('Error, "redis" is not installed. Install '
  12. 'using pip: "pip install redis"')