Skip to content

Commit cc50521

Browse files
committed
Update framework to use new korra API and allow custom Session Object
1 parent a3e1c48 commit cc50521

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

meeseeksbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .core import Config
1313
from .core import MeeseeksBox
1414

15-
version_info = (0,0,2)
15+
version_info = (0, 0, 3)
1616

1717
__version__ = '.'.join(map(str,version_info))
1818

meeseeksbox/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ def __init__(self, integration_id, rsadata):
5656
# TODO: this mapping is built at startup, we should update it when we
5757
# have new / deleted installations
5858
self.idmap = {}
59+
self._session_class = Session
5960

6061
def session(self, installation_id):
61-
return Session(self.integration_id, self.rsadata, installation_id)
62+
return self._session_class(self.integration_id, self.rsadata, installation_id)
6263

6364
def list_installations(self):
6465
"""

0 commit comments

Comments
 (0)