Skip to content

Commit

Permalink
kargs bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Anto Idicherian Lonappan <[email protected]>
  • Loading branch information
antolonappan committed Apr 2, 2023
1 parent 3bb75d9 commit 7502096
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pycachera/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .cacher import Cache as cache

__version__ = "2.0.5"
__version__ = "2.1.0"
__author__ = "Anto I Lonappan"
__author_email__ = "[email protected]"
__description__ = "A simple and powerful python cache decorator"
2 changes: 1 addition & 1 deletion pycachera/cacher.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def decorator(*args,**kargs):
return cache
return decorator

def cachekey_gen(self, arg,karg):
def cachekey_gen(self, arg,karg={}):
"""
Generates a unique key for a function, depending on the args
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name = 'pycachera',
packages = ['pycachera'],
package_data = {'pycachera' : files },
version = '2.0.5',
version = '2.1.0',
install_requires = ['numpy','pandas'],
description = 'A powerfull python caching tool',
author = 'Anto Idicherian Lonappan',
Expand Down

0 comments on commit 7502096

Please sign in to comment.