mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 13:03:47 +00:00
added missing text to new stats collector methods
This commit is contained in:
parent
45cbe1333f
commit
e69311ef38
@ -145,13 +145,17 @@ class (which they all inherit from).
|
||||
|
||||
Set the given value for the given key only if current value for the
|
||||
same key is lower than value. If there is no current value for the
|
||||
given key, the value is always set.
|
||||
given key, the value is always set. If domain is not given the global
|
||||
stats table is used, otherwise the domain-specific stats table is used,
|
||||
which must be opened or a KeyError will be raised.
|
||||
|
||||
.. method:: min_value(key, value, domain=None)
|
||||
|
||||
Set the given value for the given key only if current value for the
|
||||
same key is greater than value. If there is no current value for the
|
||||
given key, the value is always set.
|
||||
given key, the value is always set. If domain is not given the global
|
||||
stats table is used, otherwise the domain-specific stats table is used,
|
||||
which must be opened or a KeyError will be raised.
|
||||
|
||||
.. method:: clear_stats(domain=None)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user