File: timer-args-f578c8f9d08b217d.yaml

package info (click to toggle)
python-oslo.service 4.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 820 kB
  • sloc: python: 4,646; makefile: 20; sh: 2
file content (15 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
features:
  - |
    The ThreadGroup class has new add_timer_args() and add_dynamic_timer_args()
    methods to create timers passing the positional and keyword arguments to
    the callback as a sequence and a mapping. This API provides more
    flexibility for the addition of timer control options in the future.
deprecations:
  - |
    The API of the ThreadGroup add_timer() and add_dynamic_timer() methods has
    been identified as error-prone when passing arguments intended for the
    callback function. Passing callback arguments in this way is now
    deprecated. Callers should use the new add_timer_args() or
    add_dynamic_timer_args() methods (respectively) instead when it is
    necessary to pass arguments to the timer callback function.