grpc.framework.interfaces.face.html 109 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663
  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.framework.interfaces.face package &mdash; grpcio 0.11.0b0 documentation</title>
  8. <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  9. <link rel="top" title="grpcio 0.11.0b0 documentation" href="index.html"/>
  10. <link rel="up" title="grpc.framework.interfaces package" href="grpc.framework.interfaces.html"/>
  11. <link rel="next" title="grpc.framework.interfaces.links package" href="grpc.framework.interfaces.links.html"/>
  12. <link rel="prev" title="grpc.framework.interfaces.base package" href="grpc.framework.interfaces.base.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-nav-search">
  19. <a href="index.html" class="icon icon-home"> grpcio
  20. </a>
  21. <div role="search">
  22. <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
  23. <input type="text" name="q" placeholder="Search docs" />
  24. <input type="hidden" name="check_keywords" value="yes" />
  25. <input type="hidden" name="area" value="default" />
  26. </form>
  27. </div>
  28. </div>
  29. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  30. <ul class="current">
  31. <li class="toctree-l1 current"><a class="reference internal" href="grpc.html">grpc package</a><ul class="current">
  32. <li class="toctree-l2 current"><a class="reference internal" href="grpc.html#subpackages">Subpackages</a><ul class="current">
  33. <li class="toctree-l3"><a class="reference internal" href="grpc.beta.html">grpc.beta package</a><ul>
  34. <li class="toctree-l4"><a class="reference internal" href="grpc.beta.html#submodules">Submodules</a></li>
  35. <li class="toctree-l4"><a class="reference internal" href="grpc.beta.html#module-grpc.beta.implementations">grpc.beta.implementations module</a></li>
  36. <li class="toctree-l4"><a class="reference internal" href="grpc.beta.html#module-grpc.beta.interfaces">grpc.beta.interfaces module</a></li>
  37. <li class="toctree-l4"><a class="reference internal" href="grpc.beta.html#module-grpc.beta.utilities">grpc.beta.utilities module</a></li>
  38. <li class="toctree-l4"><a class="reference internal" href="grpc.beta.html#module-grpc.beta">Module contents</a></li>
  39. </ul>
  40. </li>
  41. <li class="toctree-l3"><a class="reference internal" href="grpc.early_adopter.html">grpc.early_adopter package</a><ul>
  42. <li class="toctree-l4"><a class="reference internal" href="grpc.early_adopter.html#submodules">Submodules</a></li>
  43. <li class="toctree-l4"><a class="reference internal" href="grpc.early_adopter.html#module-grpc.early_adopter.implementations">grpc.early_adopter.implementations module</a></li>
  44. <li class="toctree-l4"><a class="reference internal" href="grpc.early_adopter.html#module-grpc.early_adopter">Module contents</a></li>
  45. </ul>
  46. </li>
  47. <li class="toctree-l3 current"><a class="reference internal" href="grpc.framework.html">grpc.framework package</a><ul class="current">
  48. <li class="toctree-l4 current"><a class="reference internal" href="grpc.framework.html#subpackages">Subpackages</a></li>
  49. <li class="toctree-l4"><a class="reference internal" href="grpc.framework.html#module-grpc.framework">Module contents</a></li>
  50. </ul>
  51. </li>
  52. </ul>
  53. </li>
  54. <li class="toctree-l2"><a class="reference internal" href="grpc.html#module-grpc">Module contents</a></li>
  55. </ul>
  56. </li>
  57. </ul>
  58. </div>
  59. &nbsp;
  60. </nav>
  61. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  62. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  63. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  64. <a href="index.html">grpcio</a>
  65. </nav>
  66. <div class="wy-nav-content">
  67. <div class="rst-content">
  68. <div role="navigation" aria-label="breadcrumbs navigation">
  69. <ul class="wy-breadcrumbs">
  70. <li><a href="index.html">Docs</a> &raquo;</li>
  71. <li><a href="grpc.html">grpc package</a> &raquo;</li>
  72. <li><a href="grpc.framework.html">grpc.framework package</a> &raquo;</li>
  73. <li><a href="grpc.framework.interfaces.html">grpc.framework.interfaces package</a> &raquo;</li>
  74. <li>grpc.framework.interfaces.face package</li>
  75. <li class="wy-breadcrumbs-aside">
  76. <a href="_sources/grpc.framework.interfaces.face.txt" rel="nofollow"> View page source</a>
  77. </li>
  78. </ul>
  79. <hr/>
  80. </div>
  81. <div role="main" class="document">
  82. <div class="section" id="grpc-framework-interfaces-face-package">
  83. <h1>grpc.framework.interfaces.face package<a class="headerlink" href="#grpc-framework-interfaces-face-package" title="Permalink to this headline">¶</a></h1>
  84. <div class="section" id="submodules">
  85. <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
  86. </div>
  87. <div class="section" id="module-grpc.framework.interfaces.face.face">
  88. <span id="grpc-framework-interfaces-face-face-module"></span><h2>grpc.framework.interfaces.face.face module<a class="headerlink" href="#module-grpc.framework.interfaces.face.face" title="Permalink to this headline">¶</a></h2>
  89. <p>Interfaces defining the Face layer of RPC Framework.</p>
  90. <dl class="class">
  91. <dt id="grpc.framework.interfaces.face.face.Abortion">
  92. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">Abortion</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Abortion"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion" title="Permalink to this definition">¶</a></dt>
  93. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.Abortion" title="grpc.framework.interfaces.face.face.Abortion"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.Abortion</span></code></a></p>
  94. <p>A value describing RPC abortion.</p>
  95. <dl class="attribute">
  96. <dt id="grpc.framework.interfaces.face.face.Abortion.kind">
  97. <code class="descname">kind</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.kind" title="Permalink to this definition">¶</a></dt>
  98. <dd><p>A Kind value identifying how the RPC failed.</p>
  99. </dd></dl>
  100. <dl class="attribute">
  101. <dt id="grpc.framework.interfaces.face.face.Abortion.initial_metadata">
  102. <code class="descname">initial_metadata</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.initial_metadata" title="Permalink to this definition">¶</a></dt>
  103. <dd><p>The initial metadata from the other side of the RPC or
  104. None if no initial metadata value was received.</p>
  105. </dd></dl>
  106. <dl class="attribute">
  107. <dt id="grpc.framework.interfaces.face.face.Abortion.terminal_metadata">
  108. <code class="descname">terminal_metadata</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.terminal_metadata" title="Permalink to this definition">¶</a></dt>
  109. <dd><p>The terminal metadata from the other side of the RPC or
  110. None if no terminal metadata value was received.</p>
  111. </dd></dl>
  112. <dl class="attribute">
  113. <dt id="grpc.framework.interfaces.face.face.Abortion.code">
  114. <code class="descname">code</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.code" title="Permalink to this definition">¶</a></dt>
  115. <dd><p>The code value from the other side of the RPC or None if no code value
  116. was received.</p>
  117. </dd></dl>
  118. <dl class="attribute">
  119. <dt id="grpc.framework.interfaces.face.face.Abortion.details">
  120. <code class="descname">details</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.details" title="Permalink to this definition">¶</a></dt>
  121. <dd><p>The details value from the other side of the RPC or None if no
  122. details value was received.</p>
  123. </dd></dl>
  124. <dl class="class">
  125. <dt id="grpc.framework.interfaces.face.face.Abortion.Kind">
  126. <em class="property">class </em><code class="descname">Kind</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Abortion.Kind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Abortion.Kind" title="Permalink to this definition">¶</a></dt>
  127. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  128. <p>Types of RPC abortion.</p>
  129. </dd></dl>
  130. </dd></dl>
  131. <dl class="exception">
  132. <dt id="grpc.framework.interfaces.face.face.AbortionError">
  133. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">AbortionError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#AbortionError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.AbortionError" title="Permalink to this definition">¶</a></dt>
  134. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">exceptions.Exception</span></code></p>
  135. <p>Common super type for exceptions indicating RPC abortion.</p>
  136. <dl class="docutils">
  137. <dt>initial_metadata: The initial metadata from the other side of the RPC or</dt>
  138. <dd>None if no initial metadata value was received.</dd>
  139. <dt>terminal_metadata: The terminal metadata from the other side of the RPC or</dt>
  140. <dd>None if no terminal metadata value was received.</dd>
  141. <dt>code: The code value from the other side of the RPC or None if no code value</dt>
  142. <dd>was received.</dd>
  143. <dt>details: The details value from the other side of the RPC or None if no</dt>
  144. <dd>details value was received.</dd>
  145. </dl>
  146. </dd></dl>
  147. <dl class="class">
  148. <dt id="grpc.framework.interfaces.face.face.Call">
  149. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">Call</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Call"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Call" title="Permalink to this definition">¶</a></dt>
  150. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.RpcContext" title="grpc.framework.interfaces.face.face.RpcContext"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.RpcContext</span></code></a></p>
  151. <p>Invocation-side utility object for an RPC.</p>
  152. <dl class="method">
  153. <dt id="grpc.framework.interfaces.face.face.Call.code">
  154. <code class="descname">code</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Call.code"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Call.code" title="Permalink to this definition">¶</a></dt>
  155. <dd><p>Accesses the code emitted by the service-side of the RPC.</p>
  156. <p>This method blocks until the value is available or is known not to have been
  157. emitted from the service-side of the RPC.</p>
  158. <table class="docutils field-list" frame="void" rules="none">
  159. <col class="field-name" />
  160. <col class="field-body" />
  161. <tbody valign="top">
  162. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The code object emitted by the service-side of the RPC, or None if there
  163. was no such value.</td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. </dd></dl>
  168. <dl class="method">
  169. <dt id="grpc.framework.interfaces.face.face.Call.details">
  170. <code class="descname">details</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Call.details"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Call.details" title="Permalink to this definition">¶</a></dt>
  171. <dd><p>Accesses the details value emitted by the service-side of the RPC.</p>
  172. <p>This method blocks until the value is available or is known not to have been
  173. emitted from the service-side of the RPC.</p>
  174. <table class="docutils field-list" frame="void" rules="none">
  175. <col class="field-name" />
  176. <col class="field-body" />
  177. <tbody valign="top">
  178. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The details value emitted by the service-side of the RPC, or None if there
  179. was no such value.</td>
  180. </tr>
  181. </tbody>
  182. </table>
  183. </dd></dl>
  184. <dl class="method">
  185. <dt id="grpc.framework.interfaces.face.face.Call.initial_metadata">
  186. <code class="descname">initial_metadata</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Call.initial_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Call.initial_metadata" title="Permalink to this definition">¶</a></dt>
  187. <dd><p>Accesses the initial metadata from the service-side of the RPC.</p>
  188. <p>This method blocks until the value is available or is known not to have been
  189. emitted from the service-side of the RPC.</p>
  190. <table class="docutils field-list" frame="void" rules="none">
  191. <col class="field-name" />
  192. <col class="field-body" />
  193. <tbody valign="top">
  194. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The initial metadata object emitted by the service-side of the RPC, or
  195. None if there was no such value.</td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. </dd></dl>
  200. <dl class="method">
  201. <dt id="grpc.framework.interfaces.face.face.Call.terminal_metadata">
  202. <code class="descname">terminal_metadata</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#Call.terminal_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.Call.terminal_metadata" title="Permalink to this definition">¶</a></dt>
  203. <dd><p>Accesses the terminal metadata from the service-side of the RPC.</p>
  204. <p>This method blocks until the value is available or is known not to have been
  205. emitted from the service-side of the RPC.</p>
  206. <table class="docutils field-list" frame="void" rules="none">
  207. <col class="field-name" />
  208. <col class="field-body" />
  209. <tbody valign="top">
  210. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The terminal metadata object emitted by the service-side of the RPC, or
  211. None if there was no such value.</td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. </dd></dl>
  216. </dd></dl>
  217. <dl class="exception">
  218. <dt id="grpc.framework.interfaces.face.face.CancellationError">
  219. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">CancellationError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#CancellationError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.CancellationError" title="Permalink to this definition">¶</a></dt>
  220. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  221. <p>Indicates that an RPC has been cancelled.</p>
  222. </dd></dl>
  223. <dl class="class">
  224. <dt id="grpc.framework.interfaces.face.face.DynamicStub">
  225. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">DynamicStub</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#DynamicStub"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.DynamicStub" title="Permalink to this definition">¶</a></dt>
  226. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  227. <p>Affords RPC invocation via attributes corresponding to afforded methods.</p>
  228. <p>Instances of this type may be scoped to a single group so that attribute
  229. access is unambiguous.</p>
  230. <p>Instances of this type respond to attribute access as follows: if the
  231. requested attribute is the name of a unary-unary method, the value of the
  232. attribute will be a UnaryUnaryMultiCallable with which to invoke an RPC; if
  233. the requested attribute is the name of a unary-stream method, the value of the
  234. attribute will be a UnaryStreamMultiCallable with which to invoke an RPC; if
  235. the requested attribute is the name of a stream-unary method, the value of the
  236. attribute will be a StreamUnaryMultiCallable with which to invoke an RPC; and
  237. if the requested attribute is the name of a stream-stream method, the value of
  238. the attribute will be a StreamStreamMultiCallable with which to invoke an RPC.</p>
  239. </dd></dl>
  240. <dl class="exception">
  241. <dt id="grpc.framework.interfaces.face.face.ExpirationError">
  242. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">ExpirationError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ExpirationError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ExpirationError" title="Permalink to this definition">¶</a></dt>
  243. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  244. <p>Indicates that an RPC has expired (&#8220;timed out&#8221;).</p>
  245. </dd></dl>
  246. <dl class="class">
  247. <dt id="grpc.framework.interfaces.face.face.GenericStub">
  248. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">GenericStub</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub" title="Permalink to this definition">¶</a></dt>
  249. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  250. <p>Affords RPC invocation via generic methods.</p>
  251. <dl class="method">
  252. <dt id="grpc.framework.interfaces.face.face.GenericStub.blocking_stream_unary">
  253. <code class="descname">blocking_stream_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>with_call=False</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.blocking_stream_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.blocking_stream_unary" title="Permalink to this definition">¶</a></dt>
  254. <dd><p>Invokes a stream-request-unary-response method.</p>
  255. <p>This method blocks until either returning the response value of the RPC
  256. (in the event of RPC completion) or raising an exception (in the event of
  257. RPC abortion).</p>
  258. <table class="docutils field-list" frame="void" rules="none">
  259. <col class="field-name" />
  260. <col class="field-body" />
  261. <tbody valign="top">
  262. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  263. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  264. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  265. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  266. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  267. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  268. <li><strong>with_call</strong> &#8211; Whether or not to include return a Call for the RPC in addition
  269. to the reponse.</li>
  270. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  271. implementation affording custom state and behavior.</li>
  272. </ul>
  273. </td>
  274. </tr>
  275. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The response value for the RPC, and a Call for the RPC if with_call was
  276. set to True at invocation.</p>
  277. </td>
  278. </tr>
  279. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-exc docutils literal"><span class="pre">AbortionError</span></code></a> &#8211;
  280. Indicating that the RPC was aborted.</p>
  281. </td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. </dd></dl>
  286. <dl class="method">
  287. <dt id="grpc.framework.interfaces.face.face.GenericStub.blocking_unary_unary">
  288. <code class="descname">blocking_unary_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>with_call=False</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.blocking_unary_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.blocking_unary_unary" title="Permalink to this definition">¶</a></dt>
  289. <dd><p>Invokes a unary-request-unary-response method.</p>
  290. <p>This method blocks until either returning the response value of the RPC
  291. (in the event of RPC completion) or raising an exception (in the event of
  292. RPC abortion).</p>
  293. <table class="docutils field-list" frame="void" rules="none">
  294. <col class="field-name" />
  295. <col class="field-body" />
  296. <tbody valign="top">
  297. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  298. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  299. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  300. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  301. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  302. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  303. <li><strong>with_call</strong> &#8211; Whether or not to include return a Call for the RPC in addition
  304. to the reponse.</li>
  305. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  306. implementation affording custom state and behavior.</li>
  307. </ul>
  308. </td>
  309. </tr>
  310. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The response value for the RPC, and a Call for the RPC if with_call was
  311. set to True at invocation.</p>
  312. </td>
  313. </tr>
  314. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-exc docutils literal"><span class="pre">AbortionError</span></code></a> &#8211;
  315. Indicating that the RPC was aborted.</p>
  316. </td>
  317. </tr>
  318. </tbody>
  319. </table>
  320. </dd></dl>
  321. <dl class="method">
  322. <dt id="grpc.framework.interfaces.face.face.GenericStub.event_stream_stream">
  323. <code class="descname">event_stream_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.event_stream_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.event_stream_stream" title="Permalink to this definition">¶</a></dt>
  324. <dd><p>Event-driven invocation of a unary-request-stream-response method.</p>
  325. <table class="docutils field-list" frame="void" rules="none">
  326. <col class="field-name" />
  327. <col class="field-body" />
  328. <tbody valign="top">
  329. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  330. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  331. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  332. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  333. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  334. in the event of RPC abortion.</li>
  335. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  336. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  337. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  338. implementation affording custom state and behavior.</li>
  339. </ul>
  340. </td>
  341. </tr>
  342. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A pair of a Call object for the RPC and a stream.Consumer to which the
  343. request values of the RPC should be passed.</p>
  344. </td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. </dd></dl>
  349. <dl class="method">
  350. <dt id="grpc.framework.interfaces.face.face.GenericStub.event_stream_unary">
  351. <code class="descname">event_stream_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.event_stream_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.event_stream_unary" title="Permalink to this definition">¶</a></dt>
  352. <dd><p>Event-driven invocation of a unary-request-unary-response method.</p>
  353. <table class="docutils field-list" frame="void" rules="none">
  354. <col class="field-name" />
  355. <col class="field-body" />
  356. <tbody valign="top">
  357. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  358. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  359. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  360. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  361. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  362. in the event of RPC abortion.</li>
  363. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  364. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  365. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  366. implementation affording custom state and behavior.</li>
  367. </ul>
  368. </td>
  369. </tr>
  370. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A pair of a Call object for the RPC and a stream.Consumer to which the
  371. request values of the RPC should be passed.</p>
  372. </td>
  373. </tr>
  374. </tbody>
  375. </table>
  376. </dd></dl>
  377. <dl class="method">
  378. <dt id="grpc.framework.interfaces.face.face.GenericStub.event_unary_stream">
  379. <code class="descname">event_unary_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.event_unary_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.event_unary_stream" title="Permalink to this definition">¶</a></dt>
  380. <dd><p>Event-driven invocation of a unary-request-stream-response method.</p>
  381. <table class="docutils field-list" frame="void" rules="none">
  382. <col class="field-name" />
  383. <col class="field-body" />
  384. <tbody valign="top">
  385. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  386. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  387. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  388. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  389. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  390. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  391. in the event of RPC abortion.</li>
  392. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  393. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  394. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  395. implementation affording custom state and behavior.</li>
  396. </ul>
  397. </td>
  398. </tr>
  399. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A Call for the RPC.</p>
  400. </td>
  401. </tr>
  402. </tbody>
  403. </table>
  404. </dd></dl>
  405. <dl class="method">
  406. <dt id="grpc.framework.interfaces.face.face.GenericStub.event_unary_unary">
  407. <code class="descname">event_unary_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.event_unary_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.event_unary_unary" title="Permalink to this definition">¶</a></dt>
  408. <dd><p>Event-driven invocation of a unary-request-unary-response method.</p>
  409. <table class="docutils field-list" frame="void" rules="none">
  410. <col class="field-name" />
  411. <col class="field-body" />
  412. <tbody valign="top">
  413. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  414. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  415. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  416. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  417. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  418. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  419. in the event of RPC abortion.</li>
  420. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  421. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  422. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  423. implementation affording custom state and behavior.</li>
  424. </ul>
  425. </td>
  426. </tr>
  427. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A Call for the RPC.</p>
  428. </td>
  429. </tr>
  430. </tbody>
  431. </table>
  432. </dd></dl>
  433. <dl class="method">
  434. <dt id="grpc.framework.interfaces.face.face.GenericStub.future_stream_unary">
  435. <code class="descname">future_stream_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.future_stream_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.future_stream_unary" title="Permalink to this definition">¶</a></dt>
  436. <dd><p>Invokes a stream-request-unary-response method.</p>
  437. <table class="docutils field-list" frame="void" rules="none">
  438. <col class="field-name" />
  439. <col class="field-body" />
  440. <tbody valign="top">
  441. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  442. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  443. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  444. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  445. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  446. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  447. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  448. implementation affording custom state and behavior.</li>
  449. </ul>
  450. </td>
  451. </tr>
  452. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and a future.Future. In the
  453. event of RPC completion, the return Future&#8217;s result value will be the
  454. response value of the RPC. In the event of RPC abortion, the returned
  455. Future&#8217;s exception value will be an AbortionError.</p>
  456. </td>
  457. </tr>
  458. </tbody>
  459. </table>
  460. </dd></dl>
  461. <dl class="method">
  462. <dt id="grpc.framework.interfaces.face.face.GenericStub.future_unary_unary">
  463. <code class="descname">future_unary_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.future_unary_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.future_unary_unary" title="Permalink to this definition">¶</a></dt>
  464. <dd><p>Invokes a unary-request-unary-response method.</p>
  465. <table class="docutils field-list" frame="void" rules="none">
  466. <col class="field-name" />
  467. <col class="field-body" />
  468. <tbody valign="top">
  469. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  470. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  471. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  472. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  473. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  474. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  475. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  476. implementation affording custom state and behavior.</li>
  477. </ul>
  478. </td>
  479. </tr>
  480. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and a future.Future. In the
  481. event of RPC completion, the return Future&#8217;s result value will be the
  482. response value of the RPC. In the event of RPC abortion, the returned
  483. Future&#8217;s exception value will be an AbortionError.</p>
  484. </td>
  485. </tr>
  486. </tbody>
  487. </table>
  488. </dd></dl>
  489. <dl class="method">
  490. <dt id="grpc.framework.interfaces.face.face.GenericStub.inline_stream_stream">
  491. <code class="descname">inline_stream_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.inline_stream_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.inline_stream_stream" title="Permalink to this definition">¶</a></dt>
  492. <dd><p>Invokes a stream-request-stream-response method.</p>
  493. <table class="docutils field-list" frame="void" rules="none">
  494. <col class="field-name" />
  495. <col class="field-body" />
  496. <tbody valign="top">
  497. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  498. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  499. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  500. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  501. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  502. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  503. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  504. implementation affording custom state and behavior.</li>
  505. </ul>
  506. </td>
  507. </tr>
  508. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and an iterator of response
  509. values. Drawing response values from the returned iterator may raise
  510. AbortionError indicating abortion of the RPC.</p>
  511. </td>
  512. </tr>
  513. </tbody>
  514. </table>
  515. </dd></dl>
  516. <dl class="method">
  517. <dt id="grpc.framework.interfaces.face.face.GenericStub.inline_unary_stream">
  518. <code class="descname">inline_unary_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.inline_unary_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.inline_unary_stream" title="Permalink to this definition">¶</a></dt>
  519. <dd><p>Invokes a unary-request-stream-response method.</p>
  520. <table class="docutils field-list" frame="void" rules="none">
  521. <col class="field-name" />
  522. <col class="field-body" />
  523. <tbody valign="top">
  524. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  525. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  526. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  527. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  528. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  529. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of the RPC.</li>
  530. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  531. implementation affording custom state and behavior.</li>
  532. </ul>
  533. </td>
  534. </tr>
  535. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and an iterator of response
  536. values. Drawing response values from the returned iterator may raise
  537. AbortionError indicating abortion of the RPC.</p>
  538. </td>
  539. </tr>
  540. </tbody>
  541. </table>
  542. </dd></dl>
  543. <dl class="method">
  544. <dt id="grpc.framework.interfaces.face.face.GenericStub.stream_stream">
  545. <code class="descname">stream_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.stream_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.stream_stream" title="Permalink to this definition">¶</a></dt>
  546. <dd><p>Creates a StreamStreamMultiCallable for a stream-stream method.</p>
  547. <table class="docutils field-list" frame="void" rules="none">
  548. <col class="field-name" />
  549. <col class="field-body" />
  550. <tbody valign="top">
  551. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  552. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  553. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  554. </ul>
  555. </td>
  556. </tr>
  557. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StreamStreamMultiCallable value for the named stream-stream method.</p>
  558. </td>
  559. </tr>
  560. </tbody>
  561. </table>
  562. </dd></dl>
  563. <dl class="method">
  564. <dt id="grpc.framework.interfaces.face.face.GenericStub.stream_unary">
  565. <code class="descname">stream_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.stream_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.stream_unary" title="Permalink to this definition">¶</a></dt>
  566. <dd><p>Creates a StreamUnaryMultiCallable for a stream-unary method.</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 simple">
  572. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  573. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  574. </ul>
  575. </td>
  576. </tr>
  577. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StreamUnaryMultiCallable value for the named stream-unary method.</p>
  578. </td>
  579. </tr>
  580. </tbody>
  581. </table>
  582. </dd></dl>
  583. <dl class="method">
  584. <dt id="grpc.framework.interfaces.face.face.GenericStub.unary_stream">
  585. <code class="descname">unary_stream</code><span class="sig-paren">(</span><em>group</em>, <em>method</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.unary_stream"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.unary_stream" title="Permalink to this definition">¶</a></dt>
  586. <dd><p>Creates a UnaryStreamMultiCallable for a unary-stream method.</p>
  587. <table class="docutils field-list" frame="void" rules="none">
  588. <col class="field-name" />
  589. <col class="field-body" />
  590. <tbody valign="top">
  591. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  592. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  593. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  594. </ul>
  595. </td>
  596. </tr>
  597. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A UnaryStreamMultiCallable value for the name unary-stream method.</p>
  598. </td>
  599. </tr>
  600. </tbody>
  601. </table>
  602. </dd></dl>
  603. <dl class="method">
  604. <dt id="grpc.framework.interfaces.face.face.GenericStub.unary_unary">
  605. <code class="descname">unary_unary</code><span class="sig-paren">(</span><em>group</em>, <em>method</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#GenericStub.unary_unary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.GenericStub.unary_unary" title="Permalink to this definition">¶</a></dt>
  606. <dd><p>Creates a UnaryUnaryMultiCallable for a unary-unary method.</p>
  607. <table class="docutils field-list" frame="void" rules="none">
  608. <col class="field-name" />
  609. <col class="field-body" />
  610. <tbody valign="top">
  611. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  612. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  613. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  614. </ul>
  615. </td>
  616. </tr>
  617. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A UnaryUnaryMultiCallable value for the named unary-unary method.</p>
  618. </td>
  619. </tr>
  620. </tbody>
  621. </table>
  622. </dd></dl>
  623. </dd></dl>
  624. <dl class="exception">
  625. <dt id="grpc.framework.interfaces.face.face.LocalError">
  626. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">LocalError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#LocalError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.LocalError" title="Permalink to this definition">¶</a></dt>
  627. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  628. <p>Indicates that an RPC has terminated due to a local defect.</p>
  629. </dd></dl>
  630. <dl class="exception">
  631. <dt id="grpc.framework.interfaces.face.face.LocalShutdownError">
  632. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">LocalShutdownError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#LocalShutdownError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.LocalShutdownError" title="Permalink to this definition">¶</a></dt>
  633. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  634. <p>Indicates that an RPC has terminated due to local shutdown of RPCs.</p>
  635. </dd></dl>
  636. <dl class="class">
  637. <dt id="grpc.framework.interfaces.face.face.MethodImplementation">
  638. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">MethodImplementation</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#MethodImplementation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation" title="Permalink to this definition">¶</a></dt>
  639. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  640. <p>A sum type that describes a method implementation.</p>
  641. <dl class="attribute">
  642. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.cardinality">
  643. <code class="descname">cardinality</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.cardinality" title="Permalink to this definition">¶</a></dt>
  644. <dd><p>A cardinality.Cardinality value.</p>
  645. </dd></dl>
  646. <dl class="attribute">
  647. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.style">
  648. <code class="descname">style</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.style" title="Permalink to this definition">¶</a></dt>
  649. <dd><p>A style.Service value.</p>
  650. </dd></dl>
  651. <dl class="attribute">
  652. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.unary_unary_inline">
  653. <code class="descname">unary_unary_inline</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.unary_unary_inline" title="Permalink to this definition">¶</a></dt>
  654. <dd><p>The implementation of the method as a callable value
  655. that takes a request value and a ServicerContext object and returns a
  656. response value. Only non-None if cardinality is
  657. cardinality.Cardinality.UNARY_UNARY and style is style.Service.INLINE.</p>
  658. </dd></dl>
  659. <dl class="attribute">
  660. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.unary_stream_inline">
  661. <code class="descname">unary_stream_inline</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.unary_stream_inline" title="Permalink to this definition">¶</a></dt>
  662. <dd><p>The implementation of the method as a callable value
  663. that takes a request value and a ServicerContext object and returns an
  664. iterator of response values. Only non-None if cardinality is
  665. cardinality.Cardinality.UNARY_STREAM and style is style.Service.INLINE.</p>
  666. </dd></dl>
  667. <dl class="attribute">
  668. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.stream_unary_inline">
  669. <code class="descname">stream_unary_inline</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.stream_unary_inline" title="Permalink to this definition">¶</a></dt>
  670. <dd><p>The implementation of the method as a callable value
  671. that takes an iterator of request values and a ServicerContext object and
  672. returns a response value. Only non-None if cardinality is
  673. cardinality.Cardinality.STREAM_UNARY and style is style.Service.INLINE.</p>
  674. </dd></dl>
  675. <dl class="attribute">
  676. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.stream_stream_inline">
  677. <code class="descname">stream_stream_inline</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.stream_stream_inline" title="Permalink to this definition">¶</a></dt>
  678. <dd><p>The implementation of the method as a callable value
  679. that takes an iterator of request values and a ServicerContext object and
  680. returns an iterator of response values. Only non-None if cardinality is
  681. cardinality.Cardinality.STREAM_STREAM and style is style.Service.INLINE.</p>
  682. </dd></dl>
  683. <dl class="attribute">
  684. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.unary_unary_event">
  685. <code class="descname">unary_unary_event</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.unary_unary_event" title="Permalink to this definition">¶</a></dt>
  686. <dd><p>The implementation of the method as a callable value that
  687. takes a request value, a response callback to which to pass the response
  688. value of the RPC, and a ServicerContext. Only non-None if cardinality is
  689. cardinality.Cardinality.UNARY_UNARY and style is style.Service.EVENT.</p>
  690. </dd></dl>
  691. <dl class="attribute">
  692. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.unary_stream_event">
  693. <code class="descname">unary_stream_event</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.unary_stream_event" title="Permalink to this definition">¶</a></dt>
  694. <dd><p>The implementation of the method as a callable value
  695. that takes a request value, a stream.Consumer to which to pass the
  696. response values of the RPC, and a ServicerContext. Only non-None if
  697. cardinality is cardinality.Cardinality.UNARY_STREAM and style is
  698. style.Service.EVENT.</p>
  699. </dd></dl>
  700. <dl class="attribute">
  701. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.stream_unary_event">
  702. <code class="descname">stream_unary_event</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.stream_unary_event" title="Permalink to this definition">¶</a></dt>
  703. <dd><p>The implementation of the method as a callable value
  704. that takes a response callback to which to pass the response value of the
  705. RPC and a ServicerContext and returns a stream.Consumer to which the
  706. request values of the RPC should be passed. Only non-None if cardinality
  707. is cardinality.Cardinality.STREAM_UNARY and style is style.Service.EVENT.</p>
  708. </dd></dl>
  709. <dl class="attribute">
  710. <dt id="grpc.framework.interfaces.face.face.MethodImplementation.stream_stream_event">
  711. <code class="descname">stream_stream_event</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.MethodImplementation.stream_stream_event" title="Permalink to this definition">¶</a></dt>
  712. <dd><p>The implementation of the method as a callable value
  713. that takes a stream.Consumer to which to pass the response values of the
  714. RPC and a ServicerContext and returns a stream.Consumer to which the
  715. request values of the RPC should be passed. Only non-None if cardinality
  716. is cardinality.Cardinality.STREAM_STREAM and style is
  717. style.Service.EVENT.</p>
  718. </dd></dl>
  719. </dd></dl>
  720. <dl class="class">
  721. <dt id="grpc.framework.interfaces.face.face.MultiMethodImplementation">
  722. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">MultiMethodImplementation</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#MultiMethodImplementation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.MultiMethodImplementation" title="Permalink to this definition">¶</a></dt>
  723. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  724. <p>A general type able to service many methods.</p>
  725. <dl class="method">
  726. <dt id="grpc.framework.interfaces.face.face.MultiMethodImplementation.service">
  727. <code class="descname">service</code><span class="sig-paren">(</span><em>group</em>, <em>method</em>, <em>response_consumer</em>, <em>context</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#MultiMethodImplementation.service"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.MultiMethodImplementation.service" title="Permalink to this definition">¶</a></dt>
  728. <dd><p>Services an RPC.</p>
  729. <table class="docutils field-list" frame="void" rules="none">
  730. <col class="field-name" />
  731. <col class="field-body" />
  732. <tbody valign="top">
  733. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  734. <li><strong>group</strong> &#8211; The group identifier of the RPC.</li>
  735. <li><strong>method</strong> &#8211; The method identifier of the RPC.</li>
  736. <li><strong>response_consumer</strong> &#8211; A stream.Consumer to be called to accept the response
  737. values of the RPC.</li>
  738. <li><strong>context</strong> &#8211; a ServicerContext object.</li>
  739. </ul>
  740. </td>
  741. </tr>
  742. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A stream.Consumer with which to accept the request values of the RPC. The
  743. consumer returned from this method may or may not be invoked to
  744. completion: in the case of RPC abortion, RPC Framework will simply stop
  745. passing values to this object. Implementations must not assume that this
  746. object will be called to completion of the request stream or even called
  747. at all.</p>
  748. </td>
  749. </tr>
  750. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><ul class="first last simple">
  751. <li><code class="xref py py-exc docutils literal"><span class="pre">abandonment.Abandoned</span></code> &#8211;
  752. May or may not be raised when the RPC has been
  753. aborted.</li>
  754. <li><a class="reference internal" href="#grpc.framework.interfaces.face.face.NoSuchMethodError" title="grpc.framework.interfaces.face.face.NoSuchMethodError"><code class="xref py py-exc docutils literal"><span class="pre">NoSuchMethodError</span></code></a> &#8211;
  755. If this MultiMethod does not recognize the given group
  756. and name for the RPC and is not able to service the RPC.</li>
  757. </ul>
  758. </td>
  759. </tr>
  760. </tbody>
  761. </table>
  762. </dd></dl>
  763. </dd></dl>
  764. <dl class="exception">
  765. <dt id="grpc.framework.interfaces.face.face.NetworkError">
  766. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">NetworkError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#NetworkError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.NetworkError" title="Permalink to this definition">¶</a></dt>
  767. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  768. <p>Indicates that some error occurred on the network.</p>
  769. </dd></dl>
  770. <dl class="exception">
  771. <dt id="grpc.framework.interfaces.face.face.NoSuchMethodError">
  772. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">NoSuchMethodError</code><span class="sig-paren">(</span><em>group</em>, <em>method</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#NoSuchMethodError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.NoSuchMethodError" title="Permalink to this definition">¶</a></dt>
  773. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">exceptions.Exception</span></code></p>
  774. <p>Raised by customer code to indicate an unrecognized method.</p>
  775. <dl class="attribute">
  776. <dt id="grpc.framework.interfaces.face.face.NoSuchMethodError.group">
  777. <code class="descname">group</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.NoSuchMethodError.group" title="Permalink to this definition">¶</a></dt>
  778. <dd><p>The group of the unrecognized method.</p>
  779. </dd></dl>
  780. <dl class="attribute">
  781. <dt id="grpc.framework.interfaces.face.face.NoSuchMethodError.name">
  782. <code class="descname">name</code><a class="headerlink" href="#grpc.framework.interfaces.face.face.NoSuchMethodError.name" title="Permalink to this definition">¶</a></dt>
  783. <dd><p>The name of the unrecognized method.</p>
  784. </dd></dl>
  785. </dd></dl>
  786. <dl class="exception">
  787. <dt id="grpc.framework.interfaces.face.face.RemoteError">
  788. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">RemoteError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RemoteError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RemoteError" title="Permalink to this definition">¶</a></dt>
  789. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  790. <p>Indicates that an RPC has terminated due to a remote defect.</p>
  791. </dd></dl>
  792. <dl class="exception">
  793. <dt id="grpc.framework.interfaces.face.face.RemoteShutdownError">
  794. <em class="property">exception </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">RemoteShutdownError</code><span class="sig-paren">(</span><em>initial_metadata</em>, <em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RemoteShutdownError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RemoteShutdownError" title="Permalink to this definition">¶</a></dt>
  795. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.AbortionError</span></code></a></p>
  796. <p>Indicates that an RPC has terminated due to remote shutdown of RPCs.</p>
  797. </dd></dl>
  798. <dl class="class">
  799. <dt id="grpc.framework.interfaces.face.face.ResponseReceiver">
  800. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">ResponseReceiver</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ResponseReceiver"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ResponseReceiver" title="Permalink to this definition">¶</a></dt>
  801. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  802. <p>Invocation-side object used to accept the output of an RPC.</p>
  803. <dl class="method">
  804. <dt id="grpc.framework.interfaces.face.face.ResponseReceiver.complete">
  805. <code class="descname">complete</code><span class="sig-paren">(</span><em>terminal_metadata</em>, <em>code</em>, <em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ResponseReceiver.complete"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ResponseReceiver.complete" title="Permalink to this definition">¶</a></dt>
  806. <dd><p>Receives the completion values emitted from the service-side of the RPC.</p>
  807. <table class="docutils field-list" frame="void" rules="none">
  808. <col class="field-name" />
  809. <col class="field-body" />
  810. <tbody valign="top">
  811. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
  812. <li><strong>terminal_metadata</strong> &#8211; The terminal metadata object emitted from the
  813. service-side of the RPC.</li>
  814. <li><strong>code</strong> &#8211; The code object emitted from the service-side of the RPC.</li>
  815. <li><strong>details</strong> &#8211; The details object emitted from the service-side of the RPC.</li>
  816. </ul>
  817. </td>
  818. </tr>
  819. </tbody>
  820. </table>
  821. </dd></dl>
  822. <dl class="method">
  823. <dt id="grpc.framework.interfaces.face.face.ResponseReceiver.initial_metadata">
  824. <code class="descname">initial_metadata</code><span class="sig-paren">(</span><em>initial_metadata</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ResponseReceiver.initial_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ResponseReceiver.initial_metadata" title="Permalink to this definition">¶</a></dt>
  825. <dd><p>Receives the initial metadata from the service-side of the RPC.</p>
  826. <table class="docutils field-list" frame="void" rules="none">
  827. <col class="field-name" />
  828. <col class="field-body" />
  829. <tbody valign="top">
  830. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>initial_metadata</strong> &#8211; The initial metadata object emitted from the
  831. service-side of the RPC.</td>
  832. </tr>
  833. </tbody>
  834. </table>
  835. </dd></dl>
  836. <dl class="method">
  837. <dt id="grpc.framework.interfaces.face.face.ResponseReceiver.response">
  838. <code class="descname">response</code><span class="sig-paren">(</span><em>response</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ResponseReceiver.response"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ResponseReceiver.response" title="Permalink to this definition">¶</a></dt>
  839. <dd><p>Receives a response from the service-side of the RPC.</p>
  840. <table class="docutils field-list" frame="void" rules="none">
  841. <col class="field-name" />
  842. <col class="field-body" />
  843. <tbody valign="top">
  844. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>response</strong> &#8211; A response object emitted from the service-side of the RPC.</td>
  845. </tr>
  846. </tbody>
  847. </table>
  848. </dd></dl>
  849. </dd></dl>
  850. <dl class="class">
  851. <dt id="grpc.framework.interfaces.face.face.RpcContext">
  852. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">RpcContext</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext" title="Permalink to this definition">¶</a></dt>
  853. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  854. <p>Provides RPC-related information and action.</p>
  855. <dl class="method">
  856. <dt id="grpc.framework.interfaces.face.face.RpcContext.add_abortion_callback">
  857. <code class="descname">add_abortion_callback</code><span class="sig-paren">(</span><em>abortion_callback</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext.add_abortion_callback"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext.add_abortion_callback" title="Permalink to this definition">¶</a></dt>
  858. <dd><p>Registers a callback to be called if the RPC is aborted.</p>
  859. <table class="docutils field-list" frame="void" rules="none">
  860. <col class="field-name" />
  861. <col class="field-body" />
  862. <tbody valign="top">
  863. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>abortion_callback</strong> &#8211; A callable to be called and passed an Abortion value
  864. in the event of RPC abortion.</td>
  865. </tr>
  866. </tbody>
  867. </table>
  868. </dd></dl>
  869. <dl class="method">
  870. <dt id="grpc.framework.interfaces.face.face.RpcContext.cancel">
  871. <code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext.cancel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext.cancel" title="Permalink to this definition">¶</a></dt>
  872. <dd><p>Cancels the RPC.</p>
  873. <p>Idempotent and has no effect if the RPC has already terminated.</p>
  874. </dd></dl>
  875. <dl class="method">
  876. <dt id="grpc.framework.interfaces.face.face.RpcContext.is_active">
  877. <code class="descname">is_active</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext.is_active"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext.is_active" title="Permalink to this definition">¶</a></dt>
  878. <dd><p>Describes whether the RPC is active or has terminated.</p>
  879. </dd></dl>
  880. <dl class="method">
  881. <dt id="grpc.framework.interfaces.face.face.RpcContext.protocol_context">
  882. <code class="descname">protocol_context</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext.protocol_context"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext.protocol_context" title="Permalink to this definition">¶</a></dt>
  883. <dd><p>Accesses a custom object specified by an implementation provider.</p>
  884. <table class="docutils field-list" frame="void" rules="none">
  885. <col class="field-name" />
  886. <col class="field-body" />
  887. <tbody valign="top">
  888. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A value specified by the provider of a Face interface implementation
  889. affording custom state and behavior.</td>
  890. </tr>
  891. </tbody>
  892. </table>
  893. </dd></dl>
  894. <dl class="method">
  895. <dt id="grpc.framework.interfaces.face.face.RpcContext.time_remaining">
  896. <code class="descname">time_remaining</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#RpcContext.time_remaining"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.RpcContext.time_remaining" title="Permalink to this definition">¶</a></dt>
  897. <dd><p>Describes the length of allowed time remaining for the RPC.</p>
  898. <table class="docutils field-list" frame="void" rules="none">
  899. <col class="field-name" />
  900. <col class="field-body" />
  901. <tbody valign="top">
  902. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A nonnegative float indicating the length of allowed time in seconds
  903. remaining for the RPC to complete before it is considered to have timed
  904. out.</td>
  905. </tr>
  906. </tbody>
  907. </table>
  908. </dd></dl>
  909. </dd></dl>
  910. <dl class="class">
  911. <dt id="grpc.framework.interfaces.face.face.ServicerContext">
  912. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">ServicerContext</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext" title="Permalink to this definition">¶</a></dt>
  913. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.interfaces.face.face.RpcContext" title="grpc.framework.interfaces.face.face.RpcContext"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.interfaces.face.face.RpcContext</span></code></a></p>
  914. <p>A context object passed to method implementations.</p>
  915. <dl class="method">
  916. <dt id="grpc.framework.interfaces.face.face.ServicerContext.code">
  917. <code class="descname">code</code><span class="sig-paren">(</span><em>code</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext.code"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext.code" title="Permalink to this definition">¶</a></dt>
  918. <dd><p>Accepts the service-side code of the RPC.</p>
  919. <p>This method need not be called by method implementations if they have no
  920. code to transmit.</p>
  921. <table class="docutils field-list" frame="void" rules="none">
  922. <col class="field-name" />
  923. <col class="field-body" />
  924. <tbody valign="top">
  925. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>code</strong> &#8211; The code of the RPC to be transmitted to the invocation side of the
  926. RPC.</td>
  927. </tr>
  928. </tbody>
  929. </table>
  930. </dd></dl>
  931. <dl class="method">
  932. <dt id="grpc.framework.interfaces.face.face.ServicerContext.details">
  933. <code class="descname">details</code><span class="sig-paren">(</span><em>details</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext.details"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext.details" title="Permalink to this definition">¶</a></dt>
  934. <dd><p>Accepts the service-side details of the RPC.</p>
  935. <p>This method need not be called by method implementations if they have no
  936. service-side details to transmit.</p>
  937. <table class="docutils field-list" frame="void" rules="none">
  938. <col class="field-name" />
  939. <col class="field-body" />
  940. <tbody valign="top">
  941. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>details</strong> &#8211; The service-side details value of the RPC to be transmitted to
  942. the invocation side of the RPC.</td>
  943. </tr>
  944. </tbody>
  945. </table>
  946. </dd></dl>
  947. <dl class="method">
  948. <dt id="grpc.framework.interfaces.face.face.ServicerContext.initial_metadata">
  949. <code class="descname">initial_metadata</code><span class="sig-paren">(</span><em>initial_metadata</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext.initial_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext.initial_metadata" title="Permalink to this definition">¶</a></dt>
  950. <dd><p>Accepts the service-side initial metadata value of the RPC.</p>
  951. <p>This method need not be called by method implementations if they have no
  952. service-side initial metadata to transmit.</p>
  953. <table class="docutils field-list" frame="void" rules="none">
  954. <col class="field-name" />
  955. <col class="field-body" />
  956. <tbody valign="top">
  957. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>initial_metadata</strong> &#8211; The service-side initial metadata value of the RPC to
  958. be transmitted to the invocation side of the RPC.</td>
  959. </tr>
  960. </tbody>
  961. </table>
  962. </dd></dl>
  963. <dl class="method">
  964. <dt id="grpc.framework.interfaces.face.face.ServicerContext.invocation_metadata">
  965. <code class="descname">invocation_metadata</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext.invocation_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext.invocation_metadata" title="Permalink to this definition">¶</a></dt>
  966. <dd><p>Accesses the metadata from the invocation-side of the RPC.</p>
  967. <p>This method blocks until the value is available or is known not to have been
  968. emitted from the invocation-side of the RPC.</p>
  969. <table class="docutils field-list" frame="void" rules="none">
  970. <col class="field-name" />
  971. <col class="field-body" />
  972. <tbody valign="top">
  973. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The metadata object emitted by the invocation-side of the RPC, or None if
  974. there was no such value.</td>
  975. </tr>
  976. </tbody>
  977. </table>
  978. </dd></dl>
  979. <dl class="method">
  980. <dt id="grpc.framework.interfaces.face.face.ServicerContext.terminal_metadata">
  981. <code class="descname">terminal_metadata</code><span class="sig-paren">(</span><em>terminal_metadata</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#ServicerContext.terminal_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.ServicerContext.terminal_metadata" title="Permalink to this definition">¶</a></dt>
  982. <dd><p>Accepts the service-side terminal metadata value of the RPC.</p>
  983. <p>This method need not be called by method implementations if they have no
  984. service-side terminal metadata to transmit.</p>
  985. <table class="docutils field-list" frame="void" rules="none">
  986. <col class="field-name" />
  987. <col class="field-body" />
  988. <tbody valign="top">
  989. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>terminal_metadata</strong> &#8211; The service-side terminal metadata value of the RPC to
  990. be transmitted to the invocation side of the RPC.</td>
  991. </tr>
  992. </tbody>
  993. </table>
  994. </dd></dl>
  995. </dd></dl>
  996. <dl class="class">
  997. <dt id="grpc.framework.interfaces.face.face.StreamStreamMultiCallable">
  998. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">StreamStreamMultiCallable</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamStreamMultiCallable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamStreamMultiCallable" title="Permalink to this definition">¶</a></dt>
  999. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  1000. <p>Affords invoking a stream-stream RPC in any call style.</p>
  1001. <dl class="method">
  1002. <dt id="grpc.framework.interfaces.face.face.StreamStreamMultiCallable.__call__">
  1003. <code class="descname">__call__</code><span class="sig-paren">(</span><em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamStreamMultiCallable.__call__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamStreamMultiCallable.__call__" title="Permalink to this definition">¶</a></dt>
  1004. <dd><p>Invokes the underlying RPC.</p>
  1005. <table class="docutils field-list" frame="void" rules="none">
  1006. <col class="field-name" />
  1007. <col class="field-body" />
  1008. <tbody valign="top">
  1009. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1010. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  1011. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1012. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1013. the RPC.</li>
  1014. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1015. implementation affording custom state and behavior.</li>
  1016. </ul>
  1017. </td>
  1018. </tr>
  1019. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and an iterator of response
  1020. values. Drawing response values from the returned iterator may raise
  1021. AbortionError indicating abortion of the RPC.</p>
  1022. </td>
  1023. </tr>
  1024. </tbody>
  1025. </table>
  1026. </dd></dl>
  1027. <dl class="method">
  1028. <dt id="grpc.framework.interfaces.face.face.StreamStreamMultiCallable.event">
  1029. <code class="descname">event</code><span class="sig-paren">(</span><em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamStreamMultiCallable.event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamStreamMultiCallable.event" title="Permalink to this definition">¶</a></dt>
  1030. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1031. <table class="docutils field-list" frame="void" rules="none">
  1032. <col class="field-name" />
  1033. <col class="field-body" />
  1034. <tbody valign="top">
  1035. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1036. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  1037. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  1038. in the event of RPC abortion.</li>
  1039. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1040. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1041. the RPC.</li>
  1042. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1043. implementation affording custom state and behavior.</li>
  1044. </ul>
  1045. </td>
  1046. </tr>
  1047. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A single object that is both a Call object for the RPC and a
  1048. stream.Consumer to which the request values of the RPC should be passed.</p>
  1049. </td>
  1050. </tr>
  1051. </tbody>
  1052. </table>
  1053. </dd></dl>
  1054. </dd></dl>
  1055. <dl class="class">
  1056. <dt id="grpc.framework.interfaces.face.face.StreamUnaryMultiCallable">
  1057. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">StreamUnaryMultiCallable</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamUnaryMultiCallable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamUnaryMultiCallable" title="Permalink to this definition">¶</a></dt>
  1058. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  1059. <p>Affords invoking a stream-unary RPC in any call style.</p>
  1060. <dl class="method">
  1061. <dt id="grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.__call__">
  1062. <code class="descname">__call__</code><span class="sig-paren">(</span><em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>with_call=False</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamUnaryMultiCallable.__call__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.__call__" title="Permalink to this definition">¶</a></dt>
  1063. <dd><p>Synchronously invokes the underlying RPC.</p>
  1064. <table class="docutils field-list" frame="void" rules="none">
  1065. <col class="field-name" />
  1066. <col class="field-body" />
  1067. <tbody valign="top">
  1068. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1069. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  1070. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1071. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1072. the RPC.</li>
  1073. <li><strong>with_call</strong> &#8211; Whether or not to include return a Call for the RPC in addition
  1074. to the reponse.</li>
  1075. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1076. implementation affording custom state and behavior.</li>
  1077. </ul>
  1078. </td>
  1079. </tr>
  1080. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The response value for the RPC, and a Call for the RPC if with_call was
  1081. set to True at invocation.</p>
  1082. </td>
  1083. </tr>
  1084. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-exc docutils literal"><span class="pre">AbortionError</span></code></a> &#8211;
  1085. Indicating that the RPC was aborted.</p>
  1086. </td>
  1087. </tr>
  1088. </tbody>
  1089. </table>
  1090. </dd></dl>
  1091. <dl class="method">
  1092. <dt id="grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.event">
  1093. <code class="descname">event</code><span class="sig-paren">(</span><em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamUnaryMultiCallable.event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.event" title="Permalink to this definition">¶</a></dt>
  1094. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1095. <table class="docutils field-list" frame="void" rules="none">
  1096. <col class="field-name" />
  1097. <col class="field-body" />
  1098. <tbody valign="top">
  1099. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1100. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  1101. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  1102. in the event of RPC abortion.</li>
  1103. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1104. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1105. the RPC.</li>
  1106. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1107. implementation affording custom state and behavior.</li>
  1108. </ul>
  1109. </td>
  1110. </tr>
  1111. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A single object that is both a Call object for the RPC and a
  1112. stream.Consumer to which the request values of the RPC should be passed.</p>
  1113. </td>
  1114. </tr>
  1115. </tbody>
  1116. </table>
  1117. </dd></dl>
  1118. <dl class="method">
  1119. <dt id="grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.future">
  1120. <code class="descname">future</code><span class="sig-paren">(</span><em>request_iterator</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#StreamUnaryMultiCallable.future"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.StreamUnaryMultiCallable.future" title="Permalink to this definition">¶</a></dt>
  1121. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1122. <table class="docutils field-list" frame="void" rules="none">
  1123. <col class="field-name" />
  1124. <col class="field-body" />
  1125. <tbody valign="top">
  1126. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1127. <li><strong>request_iterator</strong> &#8211; An iterator that yields request values for the RPC.</li>
  1128. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1129. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1130. the RPC.</li>
  1131. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1132. implementation affording custom state and behavior.</li>
  1133. </ul>
  1134. </td>
  1135. </tr>
  1136. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and a future.Future. In the
  1137. event of RPC completion, the return Future&#8217;s result value will be the
  1138. response value of the RPC. In the event of RPC abortion, the returned
  1139. Future&#8217;s exception value will be an AbortionError.</p>
  1140. </td>
  1141. </tr>
  1142. </tbody>
  1143. </table>
  1144. </dd></dl>
  1145. </dd></dl>
  1146. <dl class="class">
  1147. <dt id="grpc.framework.interfaces.face.face.UnaryStreamMultiCallable">
  1148. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">UnaryStreamMultiCallable</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryStreamMultiCallable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryStreamMultiCallable" title="Permalink to this definition">¶</a></dt>
  1149. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  1150. <p>Affords invoking a unary-stream RPC in any call style.</p>
  1151. <dl class="method">
  1152. <dt id="grpc.framework.interfaces.face.face.UnaryStreamMultiCallable.__call__">
  1153. <code class="descname">__call__</code><span class="sig-paren">(</span><em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryStreamMultiCallable.__call__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryStreamMultiCallable.__call__" title="Permalink to this definition">¶</a></dt>
  1154. <dd><p>Invokes the underlying RPC.</p>
  1155. <table class="docutils field-list" frame="void" rules="none">
  1156. <col class="field-name" />
  1157. <col class="field-body" />
  1158. <tbody valign="top">
  1159. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1160. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  1161. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1162. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1163. the RPC.</li>
  1164. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1165. implementation affording custom state and behavior.</li>
  1166. </ul>
  1167. </td>
  1168. </tr>
  1169. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and an iterator of response
  1170. values. Drawing response values from the returned iterator may raise
  1171. AbortionError indicating abortion of the RPC.</p>
  1172. </td>
  1173. </tr>
  1174. </tbody>
  1175. </table>
  1176. </dd></dl>
  1177. <dl class="method">
  1178. <dt id="grpc.framework.interfaces.face.face.UnaryStreamMultiCallable.event">
  1179. <code class="descname">event</code><span class="sig-paren">(</span><em>request</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryStreamMultiCallable.event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryStreamMultiCallable.event" title="Permalink to this definition">¶</a></dt>
  1180. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1181. <table class="docutils field-list" frame="void" rules="none">
  1182. <col class="field-name" />
  1183. <col class="field-body" />
  1184. <tbody valign="top">
  1185. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1186. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  1187. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  1188. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  1189. in the event of RPC abortion.</li>
  1190. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1191. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1192. the RPC.</li>
  1193. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1194. implementation affording custom state and behavior.</li>
  1195. </ul>
  1196. </td>
  1197. </tr>
  1198. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A Call object for the RPC.</p>
  1199. </td>
  1200. </tr>
  1201. </tbody>
  1202. </table>
  1203. </dd></dl>
  1204. </dd></dl>
  1205. <dl class="class">
  1206. <dt id="grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable">
  1207. <em class="property">class </em><code class="descclassname">grpc.framework.interfaces.face.face.</code><code class="descname">UnaryUnaryMultiCallable</code><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryUnaryMultiCallable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable" title="Permalink to this definition">¶</a></dt>
  1208. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  1209. <p>Affords invoking a unary-unary RPC in any call style.</p>
  1210. <dl class="method">
  1211. <dt id="grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.__call__">
  1212. <code class="descname">__call__</code><span class="sig-paren">(</span><em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>with_call=False</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryUnaryMultiCallable.__call__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.__call__" title="Permalink to this definition">¶</a></dt>
  1213. <dd><p>Synchronously invokes the underlying RPC.</p>
  1214. <table class="docutils field-list" frame="void" rules="none">
  1215. <col class="field-name" />
  1216. <col class="field-body" />
  1217. <tbody valign="top">
  1218. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1219. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  1220. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1221. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1222. the RPC.</li>
  1223. <li><strong>with_call</strong> &#8211; Whether or not to include return a Call for the RPC in addition
  1224. to the reponse.</li>
  1225. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1226. implementation affording custom state and behavior.</li>
  1227. </ul>
  1228. </td>
  1229. </tr>
  1230. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The response value for the RPC, and a Call for the RPC if with_call was
  1231. set to True at invocation.</p>
  1232. </td>
  1233. </tr>
  1234. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#grpc.framework.interfaces.face.face.AbortionError" title="grpc.framework.interfaces.face.face.AbortionError"><code class="xref py py-exc docutils literal"><span class="pre">AbortionError</span></code></a> &#8211;
  1235. Indicating that the RPC was aborted.</p>
  1236. </td>
  1237. </tr>
  1238. </tbody>
  1239. </table>
  1240. </dd></dl>
  1241. <dl class="method">
  1242. <dt id="grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.event">
  1243. <code class="descname">event</code><span class="sig-paren">(</span><em>request</em>, <em>receiver</em>, <em>abortion_callback</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryUnaryMultiCallable.event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.event" title="Permalink to this definition">¶</a></dt>
  1244. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1245. <table class="docutils field-list" frame="void" rules="none">
  1246. <col class="field-name" />
  1247. <col class="field-body" />
  1248. <tbody valign="top">
  1249. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1250. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  1251. <li><strong>receiver</strong> &#8211; A ResponseReceiver to be passed the response data of the RPC.</li>
  1252. <li><strong>abortion_callback</strong> &#8211; A callback to be called and passed an Abortion value
  1253. in the event of RPC abortion.</li>
  1254. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1255. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1256. the RPC.</li>
  1257. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1258. implementation affording custom state and behavior.</li>
  1259. </ul>
  1260. </td>
  1261. </tr>
  1262. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A Call for the RPC.</p>
  1263. </td>
  1264. </tr>
  1265. </tbody>
  1266. </table>
  1267. </dd></dl>
  1268. <dl class="method">
  1269. <dt id="grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.future">
  1270. <code class="descname">future</code><span class="sig-paren">(</span><em>request</em>, <em>timeout</em>, <em>metadata=None</em>, <em>protocol_options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/face.html#UnaryUnaryMultiCallable.future"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.face.UnaryUnaryMultiCallable.future" title="Permalink to this definition">¶</a></dt>
  1271. <dd><p>Asynchronously invokes the underlying RPC.</p>
  1272. <table class="docutils field-list" frame="void" rules="none">
  1273. <col class="field-name" />
  1274. <col class="field-body" />
  1275. <tbody valign="top">
  1276. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  1277. <li><strong>request</strong> &#8211; The request value for the RPC.</li>
  1278. <li><strong>timeout</strong> &#8211; A duration of time in seconds to allow for the RPC.</li>
  1279. <li><strong>metadata</strong> &#8211; A metadata value to be passed to the service-side of
  1280. the RPC.</li>
  1281. <li><strong>protocol_options</strong> &#8211; A value specified by the provider of a Face interface
  1282. implementation affording custom state and behavior.</li>
  1283. </ul>
  1284. </td>
  1285. </tr>
  1286. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An object that is both a Call for the RPC and a future.Future. In the
  1287. event of RPC completion, the return Future&#8217;s result value will be the
  1288. response value of the RPC. In the event of RPC abortion, the returned
  1289. Future&#8217;s exception value will be an AbortionError.</p>
  1290. </td>
  1291. </tr>
  1292. </tbody>
  1293. </table>
  1294. </dd></dl>
  1295. </dd></dl>
  1296. </div>
  1297. <div class="section" id="module-grpc.framework.interfaces.face.utilities">
  1298. <span id="grpc-framework-interfaces-face-utilities-module"></span><h2>grpc.framework.interfaces.face.utilities module<a class="headerlink" href="#module-grpc.framework.interfaces.face.utilities" title="Permalink to this headline">¶</a></h2>
  1299. <p>Utilities for RPC Framework&#8217;s Face interface.</p>
  1300. <dl class="function">
  1301. <dt id="grpc.framework.interfaces.face.utilities.stream_stream_event">
  1302. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">stream_stream_event</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#stream_stream_event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.stream_stream_event" title="Permalink to this definition">¶</a></dt>
  1303. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1304. <table class="docutils field-list" frame="void" rules="none">
  1305. <col class="field-name" />
  1306. <col class="field-body" />
  1307. <tbody valign="top">
  1308. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a stream-stream RPC method as a callable
  1309. value that takes a stream.Consumer to which to pass the response values
  1310. of the RPC and an face.ServicerContext and returns a stream.Consumer to
  1311. which the request values of the RPC should be passed.</td>
  1312. </tr>
  1313. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1314. </tr>
  1315. </tbody>
  1316. </table>
  1317. </dd></dl>
  1318. <dl class="function">
  1319. <dt id="grpc.framework.interfaces.face.utilities.stream_stream_inline">
  1320. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">stream_stream_inline</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#stream_stream_inline"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.stream_stream_inline" title="Permalink to this definition">¶</a></dt>
  1321. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1322. <table class="docutils field-list" frame="void" rules="none">
  1323. <col class="field-name" />
  1324. <col class="field-body" />
  1325. <tbody valign="top">
  1326. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a stream-stream RPC method as a callable
  1327. value that takes an iterator of request values and an
  1328. face.ServicerContext object and returns an iterator of response values.</td>
  1329. </tr>
  1330. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1331. </tr>
  1332. </tbody>
  1333. </table>
  1334. </dd></dl>
  1335. <dl class="function">
  1336. <dt id="grpc.framework.interfaces.face.utilities.stream_unary_event">
  1337. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">stream_unary_event</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#stream_unary_event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.stream_unary_event" title="Permalink to this definition">¶</a></dt>
  1338. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1339. <table class="docutils field-list" frame="void" rules="none">
  1340. <col class="field-name" />
  1341. <col class="field-body" />
  1342. <tbody valign="top">
  1343. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a stream-unary RPC method as a callable
  1344. value that takes a response callback to which to pass the response value
  1345. of the RPC and an face.ServicerContext and returns a stream.Consumer to
  1346. which the request values of the RPC should be passed.</td>
  1347. </tr>
  1348. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1349. </tr>
  1350. </tbody>
  1351. </table>
  1352. </dd></dl>
  1353. <dl class="function">
  1354. <dt id="grpc.framework.interfaces.face.utilities.stream_unary_inline">
  1355. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">stream_unary_inline</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#stream_unary_inline"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.stream_unary_inline" title="Permalink to this definition">¶</a></dt>
  1356. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1357. <table class="docutils field-list" frame="void" rules="none">
  1358. <col class="field-name" />
  1359. <col class="field-body" />
  1360. <tbody valign="top">
  1361. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a stream-unary RPC method as a callable
  1362. value that takes an iterator of request values and an
  1363. face.ServicerContext object and returns a response value.</td>
  1364. </tr>
  1365. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1366. </tr>
  1367. </tbody>
  1368. </table>
  1369. </dd></dl>
  1370. <dl class="function">
  1371. <dt id="grpc.framework.interfaces.face.utilities.unary_stream_event">
  1372. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">unary_stream_event</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#unary_stream_event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.unary_stream_event" title="Permalink to this definition">¶</a></dt>
  1373. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1374. <table class="docutils field-list" frame="void" rules="none">
  1375. <col class="field-name" />
  1376. <col class="field-body" />
  1377. <tbody valign="top">
  1378. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a unary-stream RPC method as a callable
  1379. value that takes a request value, a stream.Consumer to which to pass the
  1380. the response values of the RPC, and an face.ServicerContext.</td>
  1381. </tr>
  1382. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1383. </tr>
  1384. </tbody>
  1385. </table>
  1386. </dd></dl>
  1387. <dl class="function">
  1388. <dt id="grpc.framework.interfaces.face.utilities.unary_stream_inline">
  1389. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">unary_stream_inline</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#unary_stream_inline"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.unary_stream_inline" title="Permalink to this definition">¶</a></dt>
  1390. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1391. <table class="docutils field-list" frame="void" rules="none">
  1392. <col class="field-name" />
  1393. <col class="field-body" />
  1394. <tbody valign="top">
  1395. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a unary-stream RPC method as a callable
  1396. value that takes a request value and an face.ServicerContext object and
  1397. returns an iterator of response values.</td>
  1398. </tr>
  1399. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1400. </tr>
  1401. </tbody>
  1402. </table>
  1403. </dd></dl>
  1404. <dl class="function">
  1405. <dt id="grpc.framework.interfaces.face.utilities.unary_unary_event">
  1406. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">unary_unary_event</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#unary_unary_event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.unary_unary_event" title="Permalink to this definition">¶</a></dt>
  1407. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1408. <table class="docutils field-list" frame="void" rules="none">
  1409. <col class="field-name" />
  1410. <col class="field-body" />
  1411. <tbody valign="top">
  1412. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a unary-unary RPC method as a callable
  1413. value that takes a request value, a response callback to which to pass
  1414. the response value of the RPC, and an face.ServicerContext.</td>
  1415. </tr>
  1416. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1417. </tr>
  1418. </tbody>
  1419. </table>
  1420. </dd></dl>
  1421. <dl class="function">
  1422. <dt id="grpc.framework.interfaces.face.utilities.unary_unary_inline">
  1423. <code class="descclassname">grpc.framework.interfaces.face.utilities.</code><code class="descname">unary_unary_inline</code><span class="sig-paren">(</span><em>behavior</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/interfaces/face/utilities.html#unary_unary_inline"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.interfaces.face.utilities.unary_unary_inline" title="Permalink to this definition">¶</a></dt>
  1424. <dd><p>Creates an face.MethodImplementation for the given behavior.</p>
  1425. <table class="docutils field-list" frame="void" rules="none">
  1426. <col class="field-name" />
  1427. <col class="field-body" />
  1428. <tbody valign="top">
  1429. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>behavior</strong> &#8211; The implementation of a unary-unary RPC method as a callable value
  1430. that takes a request value and an face.ServicerContext object and
  1431. returns a response value.</td>
  1432. </tr>
  1433. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An face.MethodImplementation derived from the given behavior.</td>
  1434. </tr>
  1435. </tbody>
  1436. </table>
  1437. </dd></dl>
  1438. </div>
  1439. <div class="section" id="module-grpc.framework.interfaces.face">
  1440. <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-grpc.framework.interfaces.face" title="Permalink to this headline">¶</a></h2>
  1441. </div>
  1442. </div>
  1443. </div>
  1444. <footer>
  1445. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  1446. <a href="grpc.framework.interfaces.links.html" class="btn btn-neutral float-right" title="grpc.framework.interfaces.links package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
  1447. <a href="grpc.framework.interfaces.base.html" class="btn btn-neutral" title="grpc.framework.interfaces.base package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
  1448. </div>
  1449. <hr/>
  1450. <div role="contentinfo">
  1451. <p>
  1452. &copy; Copyright 2015, Author.
  1453. </p>
  1454. </div>
  1455. 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>.
  1456. </footer>
  1457. </div>
  1458. </div>
  1459. </section>
  1460. </div>
  1461. <script type="text/javascript">
  1462. var DOCUMENTATION_OPTIONS = {
  1463. URL_ROOT:'./',
  1464. VERSION:'0.11.0b0',
  1465. COLLAPSE_INDEX:false,
  1466. FILE_SUFFIX:'.html',
  1467. HAS_SOURCE: true
  1468. };
  1469. </script>
  1470. <script type="text/javascript" src="_static/jquery.js"></script>
  1471. <script type="text/javascript" src="_static/underscore.js"></script>
  1472. <script type="text/javascript" src="_static/doctools.js"></script>
  1473. <script type="text/javascript" src="_static/js/theme.js"></script>
  1474. <script type="text/javascript">
  1475. jQuery(function () {
  1476. SphinxRtdTheme.StickyNav.enable();
  1477. });
  1478. </script>
  1479. </body>
  1480. </html>