grpc.beta.html 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>grpc.beta package &mdash; grpcio 0.11.0b1 documentation</title>
  8. <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  9. <link rel="top" title="grpcio 0.11.0b1 documentation" href="index.html"/>
  10. <link rel="up" title="grpc package" href="grpc.html"/>
  11. <link rel="next" title="grpc.early_adopter package" href="grpc.early_adopter.html"/>
  12. <link rel="prev" title="grpc package" href="grpc.html"/>
  13. <script src="_static/js/modernizr.min.js"></script>
  14. </head>
  15. <body class="wy-body-for-nav" role="document">
  16. <div class="wy-grid-for-nav">
  17. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  18. <div class="wy-side-scroll">
  19. <div class="wy-side-nav-search">
  20. <a href="index.html" class="icon icon-home"> grpcio
  21. </a>
  22. <div class="version">
  23. 0.11.0b1
  24. </div>
  25. <div role="search">
  26. <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
  27. <input type="text" name="q" placeholder="Search docs" />
  28. <input type="hidden" name="check_keywords" value="yes" />
  29. <input type="hidden" name="area" value="default" />
  30. </form>
  31. </div>
  32. </div>
  33. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  34. <ul class="current">
  35. <li class="toctree-l1 current"><a class="reference internal" href="grpc.html">grpc package</a><ul class="current">
  36. <li class="toctree-l2 current"><a class="reference internal" href="grpc.html#subpackages">Subpackages</a><ul class="current">
  37. <li class="toctree-l3 current"><a class="current reference internal" href="">grpc.beta package</a><ul>
  38. <li class="toctree-l4"><a class="reference internal" href="#submodules">Submodules</a></li>
  39. <li class="toctree-l4"><a class="reference internal" href="#module-grpc.beta.implementations">grpc.beta.implementations module</a></li>
  40. <li class="toctree-l4"><a class="reference internal" href="#module-grpc.beta.interfaces">grpc.beta.interfaces module</a></li>
  41. <li class="toctree-l4"><a class="reference internal" href="#module-grpc.beta.utilities">grpc.beta.utilities module</a></li>
  42. <li class="toctree-l4"><a class="reference internal" href="#module-grpc.beta">Module contents</a></li>
  43. </ul>
  44. </li>
  45. <li class="toctree-l3"><a class="reference internal" href="grpc.early_adopter.html">grpc.early_adopter package</a></li>
  46. <li class="toctree-l3"><a class="reference internal" href="grpc.framework.html">grpc.framework package</a></li>
  47. </ul>
  48. </li>
  49. <li class="toctree-l2"><a class="reference internal" href="grpc.html#module-grpc">Module contents</a></li>
  50. </ul>
  51. </li>
  52. </ul>
  53. </div>
  54. </div>
  55. </nav>
  56. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  57. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  58. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  59. <a href="index.html">grpcio</a>
  60. </nav>
  61. <div class="wy-nav-content">
  62. <div class="rst-content">
  63. <div role="navigation" aria-label="breadcrumbs navigation">
  64. <ul class="wy-breadcrumbs">
  65. <li><a href="index.html">Docs</a> &raquo;</li>
  66. <li><a href="grpc.html">grpc package</a> &raquo;</li>
  67. <li>grpc.beta package</li>
  68. <li class="wy-breadcrumbs-aside">
  69. <a href="_sources/grpc.beta.txt" rel="nofollow"> View page source</a>
  70. </li>
  71. </ul>
  72. <hr/>
  73. </div>
  74. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  75. <div itemprop="articleBody">
  76. <div class="section" id="grpc-beta-package">
  77. <h1>grpc.beta package<a class="headerlink" href="#grpc-beta-package" title="Permalink to this headline">¶</a></h1>
  78. <div class="section" id="submodules">
  79. <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
  80. </div>
  81. <div class="section" id="module-grpc.beta.implementations">
  82. <span id="grpc-beta-implementations-module"></span><h2>grpc.beta.implementations module<a class="headerlink" href="#module-grpc.beta.implementations" title="Permalink to this headline">¶</a></h2>
  83. <p>Entry points into the Beta API of gRPC Python.</p>
  84. <dl class="class">
  85. <dt id="grpc.beta.implementations.Channel">
  86. <em class="property">class </em><code class="descclassname">grpc.beta.implementations.</code><code class="descname">Channel</code><span class="sig-paren">(</span><em>low_channel</em>, <em>intermediary_low_channel</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#Channel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.Channel" title="Permalink to this definition">¶</a></dt>
  87. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  88. <p>A channel to a remote host through which RPCs may be conducted.</p>
  89. <p>Only the &#8220;subscribe&#8221; and &#8220;unsubscribe&#8221; methods are supported for application
  90. use. This class&#8217; instance constructor and all other attributes are
  91. unsupported.</p>
  92. <dl class="method">
  93. <dt id="grpc.beta.implementations.Channel.subscribe">
  94. <code class="descname">subscribe</code><span class="sig-paren">(</span><em>callback</em>, <em>try_to_connect=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#Channel.subscribe"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.Channel.subscribe" title="Permalink to this definition">¶</a></dt>
  95. <dd><p>Subscribes to this Channel&#8217;s connectivity.</p>
  96. <table class="docutils field-list" frame="void" rules="none">
  97. <col class="field-name" />
  98. <col class="field-body" />
  99. <tbody valign="top">
  100. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
  101. <li><strong>callback</strong> &#8211; A callable to be invoked and passed an
  102. interfaces.ChannelConnectivity identifying this Channel&#8217;s connectivity.
  103. The callable will be invoked immediately upon subscription and again for
  104. every change to this Channel&#8217;s connectivity thereafter until it is
  105. unsubscribed.</li>
  106. <li><strong>try_to_connect</strong> &#8211; A boolean indicating whether or not this Channel should
  107. attempt to connect if it is not already connected and ready to conduct
  108. RPCs.</li>
  109. </ul>
  110. </td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. </dd></dl>
  115. <dl class="method">
  116. <dt id="grpc.beta.implementations.Channel.unsubscribe">
  117. <code class="descname">unsubscribe</code><span class="sig-paren">(</span><em>callback</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#Channel.unsubscribe"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.Channel.unsubscribe" title="Permalink to this definition">¶</a></dt>
  118. <dd><p>Unsubscribes a callback from this Channel&#8217;s connectivity.</p>
  119. <table class="docutils field-list" frame="void" rules="none">
  120. <col class="field-name" />
  121. <col class="field-body" />
  122. <tbody valign="top">
  123. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>callback</strong> &#8211; A callable previously registered with this Channel from having
  124. been passed to its &#8220;subscribe&#8221; method.</td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. </dd></dl>
  129. </dd></dl>
  130. <dl class="class">
  131. <dt id="grpc.beta.implementations.ClientCredentials">
  132. <em class="property">class </em><code class="descclassname">grpc.beta.implementations.</code><code class="descname">ClientCredentials</code><span class="sig-paren">(</span><em>low_credentials</em>, <em>intermediary_low_credentials</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#ClientCredentials"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.ClientCredentials" title="Permalink to this definition">¶</a></dt>
  133. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  134. <p>A value encapsulating the data required to create a secure Channel.</p>
  135. <p>This class and its instances have no supported interface - it exists to define
  136. the type of its instances and its instances exist to be passed to other
  137. functions.</p>
  138. </dd></dl>
  139. <dl class="class">
  140. <dt id="grpc.beta.implementations.ServerCredentials">
  141. <em class="property">class </em><code class="descclassname">grpc.beta.implementations.</code><code class="descname">ServerCredentials</code><span class="sig-paren">(</span><em>low_credentials</em>, <em>intermediary_low_credentials</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#ServerCredentials"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.ServerCredentials" title="Permalink to this definition">¶</a></dt>
  142. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  143. <p>A value encapsulating the data required to open a secure port on a Server.</p>
  144. <p>This class and its instances have no supported interface - it exists to define
  145. the type of its instances and its instances exist to be passed to other
  146. functions.</p>
  147. </dd></dl>
  148. <dl class="class">
  149. <dt id="grpc.beta.implementations.ServerOptions">
  150. <em class="property">class </em><code class="descclassname">grpc.beta.implementations.</code><code class="descname">ServerOptions</code><span class="sig-paren">(</span><em>multi_method_implementation</em>, <em>request_deserializers</em>, <em>response_serializers</em>, <em>thread_pool</em>, <em>thread_pool_size</em>, <em>default_timeout</em>, <em>maximum_timeout</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#ServerOptions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.ServerOptions" title="Permalink to this definition">¶</a></dt>
  151. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  152. <p>A value encapsulating the various options for creation of a Server.</p>
  153. <p>This class and its instances have no supported interface - it exists to define
  154. the type of its instances and its instances exist to be passed to other
  155. functions.</p>
  156. </dd></dl>
  157. <dl class="class">
  158. <dt id="grpc.beta.implementations.StubOptions">
  159. <em class="property">class </em><code class="descclassname">grpc.beta.implementations.</code><code class="descname">StubOptions</code><span class="sig-paren">(</span><em>host</em>, <em>request_serializers</em>, <em>response_deserializers</em>, <em>metadata_transformer</em>, <em>thread_pool</em>, <em>thread_pool_size</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#StubOptions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.StubOptions" title="Permalink to this definition">¶</a></dt>
  160. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  161. <p>A value encapsulating the various options for creation of a Stub.</p>
  162. <p>This class and its instances have no supported interface - it exists to define
  163. the type of its instances and its instances exist to be passed to other
  164. functions.</p>
  165. </dd></dl>
  166. <dl class="function">
  167. <dt id="grpc.beta.implementations.dynamic_stub">
  168. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">dynamic_stub</code><span class="sig-paren">(</span><em>channel</em>, <em>service</em>, <em>cardinalities</em>, <em>options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#dynamic_stub"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.dynamic_stub" title="Permalink to this definition">¶</a></dt>
  169. <dd><p>Creates a face.DynamicStub with which RPCs can be invoked.</p>
  170. <table class="docutils field-list" frame="void" rules="none">
  171. <col class="field-name" />
  172. <col class="field-body" />
  173. <tbody valign="top">
  174. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  175. <li><strong>channel</strong> &#8211; A Channel for the returned face.DynamicStub to use.</li>
  176. <li><strong>service</strong> &#8211; The package-qualified full name of the service.</li>
  177. <li><strong>cardinalities</strong> &#8211; A dictionary from RPC method name to cardinality.Cardinality
  178. value identifying the cardinality of the RPC method.</li>
  179. <li><strong>options</strong> &#8211; An optional StubOptions value further customizing the functionality
  180. of the returned face.DynamicStub.</li>
  181. </ul>
  182. </td>
  183. </tr>
  184. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A face.DynamicStub with which RPCs can be invoked.</p>
  185. </td>
  186. </tr>
  187. </tbody>
  188. </table>
  189. </dd></dl>
  190. <dl class="function">
  191. <dt id="grpc.beta.implementations.generic_stub">
  192. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">generic_stub</code><span class="sig-paren">(</span><em>channel</em>, <em>options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#generic_stub"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.generic_stub" title="Permalink to this definition">¶</a></dt>
  193. <dd><p>Creates a face.GenericStub on which RPCs can be made.</p>
  194. <table class="docutils field-list" frame="void" rules="none">
  195. <col class="field-name" />
  196. <col class="field-body" />
  197. <tbody valign="top">
  198. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  199. <li><strong>channel</strong> &#8211; A Channel for use by the created stub.</li>
  200. <li><strong>options</strong> &#8211; A StubOptions customizing the created stub.</li>
  201. </ul>
  202. </td>
  203. </tr>
  204. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A face.GenericStub on which RPCs can be made.</p>
  205. </td>
  206. </tr>
  207. </tbody>
  208. </table>
  209. </dd></dl>
  210. <dl class="function">
  211. <dt id="grpc.beta.implementations.insecure_channel">
  212. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">insecure_channel</code><span class="sig-paren">(</span><em>host</em>, <em>port</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#insecure_channel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.insecure_channel" title="Permalink to this definition">¶</a></dt>
  213. <dd><p>Creates an insecure Channel to a remote host.</p>
  214. <table class="docutils field-list" frame="void" rules="none">
  215. <col class="field-name" />
  216. <col class="field-body" />
  217. <tbody valign="top">
  218. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  219. <li><strong>host</strong> &#8211; The name of the remote host to which to connect.</li>
  220. <li><strong>port</strong> &#8211; The port of the remote host to which to connect.</li>
  221. </ul>
  222. </td>
  223. </tr>
  224. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A Channel to the remote host through which RPCs may be conducted.</p>
  225. </td>
  226. </tr>
  227. </tbody>
  228. </table>
  229. </dd></dl>
  230. <dl class="function">
  231. <dt id="grpc.beta.implementations.secure_channel">
  232. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">secure_channel</code><span class="sig-paren">(</span><em>host</em>, <em>port</em>, <em>client_credentials</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#secure_channel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.secure_channel" title="Permalink to this definition">¶</a></dt>
  233. <dd><p>Creates a secure Channel to a remote host.</p>
  234. <table class="docutils field-list" frame="void" rules="none">
  235. <col class="field-name" />
  236. <col class="field-body" />
  237. <tbody valign="top">
  238. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  239. <li><strong>host</strong> &#8211; The name of the remote host to which to connect.</li>
  240. <li><strong>port</strong> &#8211; The port of the remote host to which to connect.</li>
  241. <li><strong>client_credentials</strong> &#8211; A ClientCredentials.</li>
  242. </ul>
  243. </td>
  244. </tr>
  245. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A secure Channel to the remote host through which RPCs may be conducted.</p>
  246. </td>
  247. </tr>
  248. </tbody>
  249. </table>
  250. </dd></dl>
  251. <dl class="function">
  252. <dt id="grpc.beta.implementations.server">
  253. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">server</code><span class="sig-paren">(</span><em>service_implementations</em>, <em>options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#server"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.server" title="Permalink to this definition">¶</a></dt>
  254. <dd><p>Creates an interfaces.Server with which RPCs can be serviced.</p>
  255. <table class="docutils field-list" frame="void" rules="none">
  256. <col class="field-name" />
  257. <col class="field-body" />
  258. <tbody valign="top">
  259. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  260. <li><strong>service_implementations</strong> &#8211; A dictionary from service name-method name pair to
  261. face.MethodImplementation.</li>
  262. <li><strong>options</strong> &#8211; An optional ServerOptions value further customizing the
  263. functionality of the returned Server.</li>
  264. </ul>
  265. </td>
  266. </tr>
  267. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An interfaces.Server with which RPCs can be serviced.</p>
  268. </td>
  269. </tr>
  270. </tbody>
  271. </table>
  272. </dd></dl>
  273. <dl class="function">
  274. <dt id="grpc.beta.implementations.server_options">
  275. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">server_options</code><span class="sig-paren">(</span><em>multi_method_implementation=None</em>, <em>request_deserializers=None</em>, <em>response_serializers=None</em>, <em>thread_pool=None</em>, <em>thread_pool_size=None</em>, <em>default_timeout=None</em>, <em>maximum_timeout=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#server_options"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.server_options" title="Permalink to this definition">¶</a></dt>
  276. <dd><p>Creates a ServerOptions value to be passed at server creation.</p>
  277. <p>All parameters are optional and should always be passed by keyword.</p>
  278. <table class="docutils field-list" frame="void" rules="none">
  279. <col class="field-name" />
  280. <col class="field-body" />
  281. <tbody valign="top">
  282. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  283. <li><strong>multi_method_implementation</strong> &#8211; A face.MultiMethodImplementation to be called
  284. to service an RPC if the server has no specific method implementation for
  285. the name of the RPC for which service was requested.</li>
  286. <li><strong>request_deserializers</strong> &#8211; A dictionary from service name-method name pair to
  287. request deserialization behavior.</li>
  288. <li><strong>response_serializers</strong> &#8211; A dictionary from service name-method name pair to
  289. response serialization behavior.</li>
  290. <li><strong>thread_pool</strong> &#8211; A thread pool to use in stubs.</li>
  291. <li><strong>thread_pool_size</strong> &#8211; The size of thread pool to create for use in stubs;
  292. ignored if thread_pool has been passed.</li>
  293. <li><strong>default_timeout</strong> &#8211; A duration in seconds to allow for RPC service when
  294. servicing RPCs that did not include a timeout value when invoked.</li>
  295. <li><strong>maximum_timeout</strong> &#8211; A duration in seconds to allow for RPC service when
  296. servicing RPCs no matter what timeout value was passed when the RPC was
  297. invoked.</li>
  298. </ul>
  299. </td>
  300. </tr>
  301. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StubOptions value created from the passed parameters.</p>
  302. </td>
  303. </tr>
  304. </tbody>
  305. </table>
  306. </dd></dl>
  307. <dl class="function">
  308. <dt id="grpc.beta.implementations.ssl_client_credentials">
  309. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">ssl_client_credentials</code><span class="sig-paren">(</span><em>root_certificates</em>, <em>private_key</em>, <em>certificate_chain</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#ssl_client_credentials"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.ssl_client_credentials" title="Permalink to this definition">¶</a></dt>
  310. <dd><p>Creates a ClientCredentials for use with an SSL-enabled Channel.</p>
  311. <table class="docutils field-list" frame="void" rules="none">
  312. <col class="field-name" />
  313. <col class="field-body" />
  314. <tbody valign="top">
  315. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  316. <li><strong>root_certificates</strong> &#8211; The PEM-encoded root certificates or None to ask for
  317. them to be retrieved from a default location.</li>
  318. <li><strong>private_key</strong> &#8211; The PEM-encoded private key to use or None if no private key
  319. should be used.</li>
  320. <li><strong>certificate_chain</strong> &#8211; The PEM-encoded certificate chain to use or None if no
  321. certificate chain should be used.</li>
  322. </ul>
  323. </td>
  324. </tr>
  325. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A ClientCredentials for use with an SSL-enabled Channel.</p>
  326. </td>
  327. </tr>
  328. </tbody>
  329. </table>
  330. </dd></dl>
  331. <dl class="function">
  332. <dt id="grpc.beta.implementations.ssl_server_credentials">
  333. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">ssl_server_credentials</code><span class="sig-paren">(</span><em>private_key_certificate_chain_pairs</em>, <em>root_certificates=None</em>, <em>require_client_auth=False</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#ssl_server_credentials"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.ssl_server_credentials" title="Permalink to this definition">¶</a></dt>
  334. <dd><p>Creates a ServerCredentials for use with an SSL-enabled Server.</p>
  335. <table class="docutils field-list" frame="void" rules="none">
  336. <col class="field-name" />
  337. <col class="field-body" />
  338. <tbody valign="top">
  339. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  340. <li><strong>private_key_certificate_chain_pairs</strong> &#8211; A nonempty sequence each element of
  341. which is a pair the first element of which is a PEM-encoded private key
  342. and the second element of which is the corresponding PEM-encoded
  343. certificate chain.</li>
  344. <li><strong>root_certificates</strong> &#8211; PEM-encoded client root certificates to be used for
  345. verifying authenticated clients. If omitted, require_client_auth must also
  346. be omitted or be False.</li>
  347. <li><strong>require_client_auth</strong> &#8211; A boolean indicating whether or not to require clients
  348. to be authenticated. May only be True if root_certificates is not None.</li>
  349. </ul>
  350. </td>
  351. </tr>
  352. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A ServerCredentials for use with an SSL-enabled Server.</p>
  353. </td>
  354. </tr>
  355. </tbody>
  356. </table>
  357. </dd></dl>
  358. <dl class="function">
  359. <dt id="grpc.beta.implementations.stub_options">
  360. <code class="descclassname">grpc.beta.implementations.</code><code class="descname">stub_options</code><span class="sig-paren">(</span><em>host=None</em>, <em>request_serializers=None</em>, <em>response_deserializers=None</em>, <em>metadata_transformer=None</em>, <em>thread_pool=None</em>, <em>thread_pool_size=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/implementations.html#stub_options"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.implementations.stub_options" title="Permalink to this definition">¶</a></dt>
  361. <dd><p>Creates a StubOptions value to be passed at stub creation.</p>
  362. <p>All parameters are optional and should always be passed by keyword.</p>
  363. <table class="docutils field-list" frame="void" rules="none">
  364. <col class="field-name" />
  365. <col class="field-body" />
  366. <tbody valign="top">
  367. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  368. <li><strong>host</strong> &#8211; A host string to set on RPC calls.</li>
  369. <li><strong>request_serializers</strong> &#8211; A dictionary from service name-method name pair to
  370. request serialization behavior.</li>
  371. <li><strong>response_deserializers</strong> &#8211; A dictionary from service name-method name pair to
  372. response deserialization behavior.</li>
  373. <li><strong>metadata_transformer</strong> &#8211; A callable that given a metadata object produces
  374. another metadata object to be used in the underlying communication on the
  375. wire.</li>
  376. <li><strong>thread_pool</strong> &#8211; A thread pool to use in stubs.</li>
  377. <li><strong>thread_pool_size</strong> &#8211; The size of thread pool to create for use in stubs;
  378. ignored if thread_pool has been passed.</li>
  379. </ul>
  380. </td>
  381. </tr>
  382. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StubOptions value created from the passed parameters.</p>
  383. </td>
  384. </tr>
  385. </tbody>
  386. </table>
  387. </dd></dl>
  388. </div>
  389. <div class="section" id="module-grpc.beta.interfaces">
  390. <span id="grpc-beta-interfaces-module"></span><h2>grpc.beta.interfaces module<a class="headerlink" href="#module-grpc.beta.interfaces" title="Permalink to this headline">¶</a></h2>
  391. <p>Constants and interfaces of the Beta API of gRPC Python.</p>
  392. <dl class="class">
  393. <dt id="grpc.beta.interfaces.ChannelConnectivity">
  394. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">ChannelConnectivity</code><a class="reference internal" href="_modules/grpc/beta/interfaces.html#ChannelConnectivity"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity" title="Permalink to this definition">¶</a></dt>
  395. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  396. <p>Mirrors grpc_connectivity_state in the gRPC Core.</p>
  397. <dl class="attribute">
  398. <dt id="grpc.beta.interfaces.ChannelConnectivity.IDLE">
  399. <code class="descname">IDLE</code><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity.IDLE" title="Permalink to this definition">¶</a></dt>
  400. <dd><p>The channel is idle.</p>
  401. </dd></dl>
  402. <dl class="attribute">
  403. <dt id="grpc.beta.interfaces.ChannelConnectivity.CONNECTING">
  404. <code class="descname">CONNECTING</code><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity.CONNECTING" title="Permalink to this definition">¶</a></dt>
  405. <dd><p>The channel is connecting.</p>
  406. </dd></dl>
  407. <dl class="attribute">
  408. <dt id="grpc.beta.interfaces.ChannelConnectivity.READY">
  409. <code class="descname">READY</code><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity.READY" title="Permalink to this definition">¶</a></dt>
  410. <dd><p>The channel is ready to conduct RPCs.</p>
  411. </dd></dl>
  412. <dl class="attribute">
  413. <dt id="grpc.beta.interfaces.ChannelConnectivity.TRANSIENT_FAILURE">
  414. <code class="descname">TRANSIENT_FAILURE</code><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity.TRANSIENT_FAILURE" title="Permalink to this definition">¶</a></dt>
  415. <dd><p>The channel has seen a failure from which it expects to
  416. recover.</p>
  417. </dd></dl>
  418. <dl class="attribute">
  419. <dt id="grpc.beta.interfaces.ChannelConnectivity.FATAL_FAILURE">
  420. <code class="descname">FATAL_FAILURE</code><a class="headerlink" href="#grpc.beta.interfaces.ChannelConnectivity.FATAL_FAILURE" title="Permalink to this definition">¶</a></dt>
  421. <dd><p>The channel has seen a failure from which it cannot recover.</p>
  422. </dd></dl>
  423. </dd></dl>
  424. <dl class="class">
  425. <dt id="grpc.beta.interfaces.GRPCCallOptions">
  426. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">GRPCCallOptions</code><span class="sig-paren">(</span><em>disable_compression</em>, <em>subcall_of</em>, <em>credentials</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCCallOptions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCCallOptions" title="Permalink to this definition">¶</a></dt>
  427. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  428. <p>A value encapsulating gRPC-specific options passed on RPC invocation.</p>
  429. <p>This class and its instances have no supported interface - it exists to
  430. define the type of its instances and its instances exist to be passed to
  431. other functions.</p>
  432. </dd></dl>
  433. <dl class="class">
  434. <dt id="grpc.beta.interfaces.GRPCInvocationContext">
  435. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">GRPCInvocationContext</code><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCInvocationContext"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCInvocationContext" title="Permalink to this definition">¶</a></dt>
  436. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  437. <p>Exposes gRPC-specific options and behaviors to code invoking RPCs.</p>
  438. <dl class="method">
  439. <dt id="grpc.beta.interfaces.GRPCInvocationContext.disable_next_request_compression">
  440. <code class="descname">disable_next_request_compression</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCInvocationContext.disable_next_request_compression"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCInvocationContext.disable_next_request_compression" title="Permalink to this definition">¶</a></dt>
  441. <dd><p>Disables compression of the next request passed by the application.</p>
  442. </dd></dl>
  443. </dd></dl>
  444. <dl class="class">
  445. <dt id="grpc.beta.interfaces.GRPCServicerContext">
  446. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">GRPCServicerContext</code><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCServicerContext"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCServicerContext" title="Permalink to this definition">¶</a></dt>
  447. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  448. <p>Exposes gRPC-specific options and behaviors to code servicing RPCs.</p>
  449. <dl class="method">
  450. <dt id="grpc.beta.interfaces.GRPCServicerContext.disable_next_response_compression">
  451. <code class="descname">disable_next_response_compression</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCServicerContext.disable_next_response_compression"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCServicerContext.disable_next_response_compression" title="Permalink to this definition">¶</a></dt>
  452. <dd><p>Disables compression of the next response passed by the application.</p>
  453. </dd></dl>
  454. <dl class="method">
  455. <dt id="grpc.beta.interfaces.GRPCServicerContext.peer">
  456. <code class="descname">peer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#GRPCServicerContext.peer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.GRPCServicerContext.peer" title="Permalink to this definition">¶</a></dt>
  457. <dd><p>Identifies the peer that invoked the RPC being serviced.</p>
  458. <table class="docutils field-list" frame="void" rules="none">
  459. <col class="field-name" />
  460. <col class="field-body" />
  461. <tbody valign="top">
  462. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A string identifying the peer that invoked the RPC being serviced.</td>
  463. </tr>
  464. </tbody>
  465. </table>
  466. </dd></dl>
  467. </dd></dl>
  468. <dl class="class">
  469. <dt id="grpc.beta.interfaces.Server">
  470. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">Server</code><a class="reference internal" href="_modules/grpc/beta/interfaces.html#Server"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.Server" title="Permalink to this definition">¶</a></dt>
  471. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  472. <p>Services RPCs.</p>
  473. <dl class="method">
  474. <dt id="grpc.beta.interfaces.Server.add_insecure_port">
  475. <code class="descname">add_insecure_port</code><span class="sig-paren">(</span><em>address</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#Server.add_insecure_port"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.Server.add_insecure_port" title="Permalink to this definition">¶</a></dt>
  476. <dd><p>Reserves a port for insecure RPC service once this Server becomes active.</p>
  477. <p>This method may only be called before calling this Server&#8217;s start method is
  478. called.</p>
  479. <table class="docutils field-list" frame="void" rules="none">
  480. <col class="field-name" />
  481. <col class="field-body" />
  482. <tbody valign="top">
  483. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>address</strong> &#8211; The address for which to open a port.</td>
  484. </tr>
  485. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An integer port on which RPCs will be serviced after this link has been
  486. started. This is typically the same number as the port number contained
  487. in the passed address, but will likely be different if the port number
  488. contained in the passed address was zero.</td>
  489. </tr>
  490. </tbody>
  491. </table>
  492. </dd></dl>
  493. <dl class="method">
  494. <dt id="grpc.beta.interfaces.Server.add_secure_port">
  495. <code class="descname">add_secure_port</code><span class="sig-paren">(</span><em>address</em>, <em>server_credentials</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#Server.add_secure_port"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.Server.add_secure_port" title="Permalink to this definition">¶</a></dt>
  496. <dd><p>Reserves a port for secure RPC service after this Server becomes active.</p>
  497. <p>This method may only be called before calling this Server&#8217;s start method is
  498. called.</p>
  499. <table class="docutils field-list" frame="void" rules="none">
  500. <col class="field-name" />
  501. <col class="field-body" />
  502. <tbody valign="top">
  503. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  504. <li><strong>address</strong> &#8211; The address for which to open a port.</li>
  505. <li><strong>server_credentials</strong> &#8211; A ServerCredentials.</li>
  506. </ul>
  507. </td>
  508. </tr>
  509. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An integer port on which RPCs will be serviced after this link has been
  510. started. This is typically the same number as the port number contained
  511. in the passed address, but will likely be different if the port number
  512. contained in the passed address was zero.</p>
  513. </td>
  514. </tr>
  515. </tbody>
  516. </table>
  517. </dd></dl>
  518. <dl class="method">
  519. <dt id="grpc.beta.interfaces.Server.start">
  520. <code class="descname">start</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#Server.start"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.Server.start" title="Permalink to this definition">¶</a></dt>
  521. <dd><p>Starts this Server&#8217;s service of RPCs.</p>
  522. <p>This method may only be called while the server is not serving RPCs (i.e. it
  523. is not idempotent).</p>
  524. </dd></dl>
  525. <dl class="method">
  526. <dt id="grpc.beta.interfaces.Server.stop">
  527. <code class="descname">stop</code><span class="sig-paren">(</span><em>grace</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#Server.stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.Server.stop" title="Permalink to this definition">¶</a></dt>
  528. <dd><p>Stops this Server&#8217;s service of RPCs.</p>
  529. <p>All calls to this method immediately stop service of new RPCs. When existing
  530. RPCs are aborted is controlled by the grace period parameter passed to this
  531. method.</p>
  532. <p>This method may be called at any time and is idempotent. Passing a smaller
  533. grace value than has been passed in a previous call will have the effect of
  534. stopping the Server sooner. Passing a larger grace value than has been
  535. passed in a previous call will not have the effect of stopping the sooner
  536. later.</p>
  537. <table class="docutils field-list" frame="void" rules="none">
  538. <col class="field-name" />
  539. <col class="field-body" />
  540. <tbody valign="top">
  541. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>grace</strong> &#8211; A duration of time in seconds to allow existing RPCs to complete
  542. before being aborted by this Server&#8217;s stopping. May be zero for
  543. immediate abortion of all in-progress RPCs.</td>
  544. </tr>
  545. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A threading.Event that will be set when this Server has completely
  546. stopped. The returned event may not be set until after the full grace
  547. period (if some ongoing RPC continues for the full length of the period)
  548. of it may be set much sooner (such as if this Server had no RPCs underway
  549. at the time it was stopped or if all RPCs that it had underway completed
  550. very early in the grace period).</td>
  551. </tr>
  552. </tbody>
  553. </table>
  554. </dd></dl>
  555. </dd></dl>
  556. <dl class="class">
  557. <dt id="grpc.beta.interfaces.StatusCode">
  558. <em class="property">class </em><code class="descclassname">grpc.beta.interfaces.</code><code class="descname">StatusCode</code><a class="reference internal" href="_modules/grpc/beta/interfaces.html#StatusCode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.StatusCode" title="Permalink to this definition">¶</a></dt>
  559. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  560. <p>Mirrors grpc_status_code in the C core.</p>
  561. </dd></dl>
  562. <dl class="function">
  563. <dt id="grpc.beta.interfaces.grpc_call_options">
  564. <code class="descclassname">grpc.beta.interfaces.</code><code class="descname">grpc_call_options</code><span class="sig-paren">(</span><em>disable_compression=False</em>, <em>credentials=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/interfaces.html#grpc_call_options"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.interfaces.grpc_call_options" title="Permalink to this definition">¶</a></dt>
  565. <dd><p>Creates a GRPCCallOptions value to be passed at RPC invocation.</p>
  566. <p>All parameters are optional and should always be passed by keyword.</p>
  567. <table class="docutils field-list" frame="void" rules="none">
  568. <col class="field-name" />
  569. <col class="field-body" />
  570. <tbody valign="top">
  571. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
  572. <li><strong>disable_compression</strong> &#8211; A boolean indicating whether or not compression should
  573. be disabled for the request object of the RPC. Only valid for
  574. request-unary RPCs.</li>
  575. <li><strong>credentials</strong> &#8211; A ClientCredentials object to use for the invoked RPC.</li>
  576. </ul>
  577. </td>
  578. </tr>
  579. </tbody>
  580. </table>
  581. </dd></dl>
  582. </div>
  583. <div class="section" id="module-grpc.beta.utilities">
  584. <span id="grpc-beta-utilities-module"></span><h2>grpc.beta.utilities module<a class="headerlink" href="#module-grpc.beta.utilities" title="Permalink to this headline">¶</a></h2>
  585. <p>Utilities for the gRPC Python Beta API.</p>
  586. <dl class="function">
  587. <dt id="grpc.beta.utilities.channel_ready_future">
  588. <code class="descclassname">grpc.beta.utilities.</code><code class="descname">channel_ready_future</code><span class="sig-paren">(</span><em>channel</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/beta/utilities.html#channel_ready_future"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.beta.utilities.channel_ready_future" title="Permalink to this definition">¶</a></dt>
  589. <dd><p>Creates a future.Future tracking when an implementations.Channel is ready.</p>
  590. <p>Cancelling the returned future.Future does not tell the given
  591. implementations.Channel to abandon attempts it may have been making to
  592. connect; cancelling merely deactivates the return future.Future&#8217;s
  593. subscription to the given implementations.Channel&#8217;s connectivity.</p>
  594. <table class="docutils field-list" frame="void" rules="none">
  595. <col class="field-name" />
  596. <col class="field-body" />
  597. <tbody valign="top">
  598. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>channel</strong> &#8211; An implementations.Channel.</td>
  599. </tr>
  600. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A future.Future that matures when the given Channel has connectivity
  601. interfaces.ChannelConnectivity.READY.</td>
  602. </tr>
  603. </tbody>
  604. </table>
  605. </dd></dl>
  606. </div>
  607. <div class="section" id="module-grpc.beta">
  608. <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-grpc.beta" title="Permalink to this headline">¶</a></h2>
  609. </div>
  610. </div>
  611. </div>
  612. </div>
  613. <footer>
  614. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  615. <a href="grpc.early_adopter.html" class="btn btn-neutral float-right" title="grpc.early_adopter package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
  616. <a href="grpc.html" class="btn btn-neutral" title="grpc package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
  617. </div>
  618. <hr/>
  619. <div role="contentinfo">
  620. <p>
  621. &copy; Copyright 2015, Author.
  622. </p>
  623. </div>
  624. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  625. </footer>
  626. </div>
  627. </div>
  628. </section>
  629. </div>
  630. <script type="text/javascript">
  631. var DOCUMENTATION_OPTIONS = {
  632. URL_ROOT:'./',
  633. VERSION:'0.11.0b1',
  634. COLLAPSE_INDEX:false,
  635. FILE_SUFFIX:'.html',
  636. HAS_SOURCE: true
  637. };
  638. </script>
  639. <script type="text/javascript" src="_static/jquery.js"></script>
  640. <script type="text/javascript" src="_static/underscore.js"></script>
  641. <script type="text/javascript" src="_static/doctools.js"></script>
  642. <script type="text/javascript" src="_static/js/theme.js"></script>
  643. <script type="text/javascript">
  644. jQuery(function () {
  645. SphinxRtdTheme.StickyNav.enable();
  646. });
  647. </script>
  648. </body>
  649. </html>