summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAdrian Chiris <adrianc@mellanox.com>2019-02-14 14:19:01 +0200
committerAdrian Chiris <adrianc@mellanox.com>2019-04-07 19:16:59 +0300
commit7c164cf9388340735c8615bd85412e4b3efd7334 (patch)
tree88be63360b56c6048b8200a59974a5fe6d97a984 /tox.ini
parent57333e902a3747715b2f13ea63477cc4aedc2129 (diff)
downloadoslo-db-7c164cf9388340735c8615bd85412e4b3efd7334.tar.gz
Support context function argument as keyword
Today, when a user uses enginefacade reader/writer decorators he/she is forced to pass the context argument as the first positional argument. performing a decorated function call with this argument passed as a keyword would lead to an out of range exception. This patch proposes to add support for the context argument to be passed as a keyword argument in decorated functions. e.g @enginefacade.reader def foo(context): ... foo(context=ctxt) <- will now be possible Change-Id: Ief0b71bf9a7eb75935612431bdcc26d33bce852d
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions