Fix facts method doc
This commit is contained in:
@@ -680,8 +680,8 @@ def fact(env, fact, value):
|
|||||||
:type env: :obj:`string`
|
:type env: :obj:`string`
|
||||||
:param fact: Find all facts with this name
|
:param fact: Find all facts with this name
|
||||||
:type fact: :obj:`string`
|
:type fact: :obj:`string`
|
||||||
:param fact: Find all facts with this value
|
:param value: Find all facts with this value
|
||||||
:type fact: :obj:`string`
|
:type value: :obj:`string`
|
||||||
"""
|
"""
|
||||||
envs = environments()
|
envs = environments()
|
||||||
check_env(env, envs)
|
check_env(env, envs)
|
||||||
@@ -717,12 +717,12 @@ def fact_ajax(env, node, fact, value):
|
|||||||
|
|
||||||
:param env: Searches for facts in this environment
|
:param env: Searches for facts in this environment
|
||||||
:type env: :obj:`string`
|
:type env: :obj:`string`
|
||||||
:param fact: Find all facts for this node
|
:param node: Find all facts for this node
|
||||||
:type fact: :obj:`string`
|
:type node: :obj:`string`
|
||||||
:param fact: Find all facts with this name
|
:param fact: Find all facts with this name
|
||||||
:type fact: :obj:`string`
|
:type fact: :obj:`string`
|
||||||
:param fact: Find all facts with this value
|
:param value: Filter facts whose value is equal to this
|
||||||
:type fact: :obj:`string`
|
:type value: :obj:`string`
|
||||||
"""
|
"""
|
||||||
draw = int(request.args.get('draw', 0))
|
draw = int(request.args.get('draw', 0))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user