mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-06-27 16:10:34 +08:00
remove partial with no extra arguments
This commit is contained in:
@@ -46,5 +46,5 @@ def detect_batch_decorator(f):
|
||||
apis = dict((api, globals().get(api)) for api in API_NAMES)
|
||||
|
||||
for api in apis:
|
||||
globals()[api] = partial(detect_batch_decorator(apis[api]))
|
||||
globals()[api] = detect_batch_decorator(apis[api])
|
||||
globals()['batch_' + api] = partial(deprecation_decorator(apis[api], api), batch=True)
|
||||
|
||||
Reference in New Issue
Block a user