fix: add docs, tests; tweak some handler method signatures
This commit is contained in:
parent
e4a4e85cf6
commit
d11e186df9
16 changed files with 345 additions and 15 deletions
|
@ -36,6 +36,11 @@ class WuttaCoreposAppProvider(AppProvider):
|
|||
"""
|
||||
|
||||
def get_corepos_handler(self, **kwargs):
|
||||
"""
|
||||
Get the configured CORE-POS integration handler.
|
||||
|
||||
:rtype: :class:`~wutta_corepos.handler.CoreposHandler`
|
||||
"""
|
||||
if not hasattr(self, 'corepos_handler'):
|
||||
spec = self.config.get(f'{self.appname}.corepos_handler',
|
||||
default='wutta_corepos.handler:CoreposHandler')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue