You have to supply the list of OIDs to obtain when using the get_request method as a reference to an array, and then pull the information back out from the hash that is returned.
在使用get _ request方法作为对数组的引用时,您必须提供要获得的OID的列表,然后从返回的散列中提取信息。
You could write it back out as reST with the.astext node method.
可以用. astext节点方法将它作为reST写出。
In this case, we would mock the query method of the database connection object so that we could just return back the results instead of calling out to the database for them.
在这里,我们可以模拟数据库连接对象的查询方法,这样我们就只需要返回结果,而不需要真正地去查询数据库。
应用推荐