blpapi.Request¶
-
class
blpapi.
Request
¶ A single request to a single service.
Request
objects are created usingService.createRequest()
orService.createAuthorizationRequest()
. They are used withSession.sendRequest()
orSession.sendAuthorizationRequest()
.The
Request
object contains the parameters for a single request to a single service. Once aRequest
has been created its fields can be populated directly using the functions provided byElement
or using theElement
interface on theElement
returned byasElement()
.The schema for the
Request
can be queried using theElement
interface.-
append
(name, value)¶ Equivalent to
getElement(name).appendValue(value)
.
-
destroy
()¶ Destructor.
-
getElement
(name)¶ Equivalent to
asElement().getElement(name)
.
-
set
(name, value)¶ Equivalent to
asElement().setElement(name, value)
.
-
toString
(level=0, spacesPerLevel=4)¶ Equivalent to
asElement().toString(level, spacesPerLevel)
.
-