1-
2-
31<!DOCTYPE html>
42< html class ="writer-html5 " lang ="en " >
53< head >
64 < meta charset ="utf-8 " />
7-
85 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
9-
106 < title > python_pachyderm.client — python-pachyderm documentation</ title >
11-
12-
13-
14- < link rel ="stylesheet " href ="../../_static/css/theme.css " type ="text/css " />
15- < link rel ="stylesheet " href ="../../_static/pygments.css " type ="text/css " />
16- < link rel ="stylesheet " href ="../../_static/pygments.css " type ="text/css " />
17- < link rel ="stylesheet " href ="../../_static/css/theme.css " type ="text/css " />
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
7+ < link rel ="stylesheet " href ="../../_static/pygments.css " type ="text/css " />
8+ < link rel ="stylesheet " href ="../../_static/css/theme.css " type ="text/css " />
289 <!--[if lt IE 9]>
2910 <script src="../../_static/js/html5shiv.min.js"></script>
3011 <![endif]-->
3112
32-
33- < script type ="text/javascript " id ="documentation_options " data-url_root ="../../ " src ="../../_static/documentation_options.js "> </ script >
3413 < script data-url_root ="../../ " id ="documentation_options " src ="../../_static/documentation_options.js "> </ script >
3514 < script src ="../../_static/jquery.js "> </ script >
3615 < script src ="../../_static/underscore.js "> </ script >
3716 < script src ="../../_static/doctools.js "> </ script >
38-
39- < script type ="text/javascript " src ="../../_static/js/theme.js "> </ script >
40-
41-
17+ < script src ="../../_static/js/theme.js "> </ script >
4218 < link rel ="index " title ="Index " href ="../../genindex.html " />
4319 < link rel ="search " title ="Search " href ="../../search.html " />
4420</ head >
4521
46- < body class ="wy-body-for-nav ">
47-
48-
22+ < body class ="wy-body-for-nav ">
4923 < div class ="wy-grid-for-nav ">
50-
5124 < nav data-toggle ="wy-nav-shift " class ="wy-nav-side ">
5225 < div class ="wy-side-scroll ">
5326 < div class ="wy-side-nav-search " >
54-
55-
56-
5727 < a href ="../../index.html " class ="icon icon-home "> python-pachyderm
58-
59-
60-
6128 </ a >
62-
63-
64-
65-
66-
67-
68-
6929< div role ="search ">
7030 < form id ="rtd-search-form " class ="wy-form " action ="../../search.html " method ="get ">
7131 < input type ="text " name ="q " placeholder ="Search docs " />
7232 < input type ="hidden " name ="check_keywords " value ="yes " />
7333 < input type ="hidden " name ="area " value ="default " />
7434 </ form >
7535</ div >
76-
77-
78- </ div >
79-
80-
81- < div class ="wy-menu wy-menu-vertical " data-spy ="affix " role ="navigation " aria-label ="main navigation ">
82-
83-
84-
85-
86-
87-
88- < p class ="caption " role ="heading "> < span class ="caption-text "> Contents:</ span > </ p >
36+ </ div > < div class ="wy-menu wy-menu-vertical " data-spy ="affix " role ="navigation " aria-label ="Navigation menu ">
37+ < p class ="caption " role ="heading "> < span class ="caption-text "> Docs</ span > </ p >
8938< ul >
39+ < li class ="toctree-l1 "> < a class ="reference internal " href ="../../getting_started.html "> Getting Started</ a > </ li >
9040< li class ="toctree-l1 "> < a class ="reference internal " href ="../../python_pachyderm.html "> python_pachyderm</ a > </ li >
9141</ ul >
9242
93-
94-
9543 </ div >
96-
9744 </ div >
9845 </ nav >
9946
100- < section data-toggle ="wy-nav-shift " class ="wy-nav-content-wrap ">
101-
102-
103- < nav class ="wy-nav-top " aria-label ="top navigation ">
104-
47+ < section data-toggle ="wy-nav-shift " class ="wy-nav-content-wrap "> < nav class ="wy-nav-top " aria-label ="Mobile navigation menu " >
10548 < i data-toggle ="wy-nav-top " class ="fa fa-bars "> </ i >
10649 < a href ="../../index.html "> python-pachyderm</ a >
107-
10850 </ nav >
10951
110-
11152 < div class ="wy-nav-content ">
112-
11353 < div class ="rst-content ">
114-
115-
116-
117-
118-
119-
120-
121-
122-
123-
124-
125-
126-
127-
128-
129-
130-
131-
132-
133- < div role ="navigation " aria-label ="breadcrumbs navigation ">
134-
54+ < div role ="navigation " aria-label ="Page navigation ">
13555 < ul class ="wy-breadcrumbs ">
136-
13756 < li > < a href ="../../index.html " class ="icon icon-home "> </ a > »</ li >
138-
13957 < li > < a href ="../index.html "> Module code</ a > »</ li >
140-
14158 < li > python_pachyderm.client</ li >
142-
143-
14459 < li class ="wy-breadcrumbs-aside ">
145-
14660 </ li >
147-
14861 </ ul >
149-
150-
15162 < hr />
15263</ div >
15364 < div role ="main " class ="document " itemscope ="itemscope " itemtype ="http://schema.org/Article ">
15465 < div itemprop ="articleBody ">
155-
66+
15667 < h1 > Source code for python_pachyderm.client</ h1 > < div class ="highlight "> < pre >
15768< span > </ span > < span class ="kn "> import</ span > < span class ="nn "> os</ span >
15869< span class ="kn "> import</ span > < span class ="nn "> json</ span >
@@ -210,10 +121,10 @@ <h1>Source code for python_pachyderm.client</h1><div class="highlight"><pre>
210121 < span class ="n "> VersionMixin</ span > < span class ="p "> ,</ span >
211122 < span class ="nb "> object</ span > < span class ="p "> ,</ span >
212123< span class ="p "> ):</ span >
213- < span class ="sd "> """The `` Client`` class that users will primarily interact with. Initialize </ span >
214- < span class ="sd "> an instance with ``python_pachyderm.Client()``.</ span >
124+ < span class ="sd "> """The :class:`. Client` class that users will primarily interact with.</ span >
125+ < span class ="sd "> Initialize an instance with ``python_pachyderm.Client()``.</ span >
215126
216- < span class ="sd "> To see documentation on the methods `` Client` ` can call, refer to the</ span >
127+ < span class ="sd "> To see documentation on the methods :class:`. Client` can call, refer to the</ span >
217128< span class ="sd "> `mixins` module.</ span >
218129< span class ="sd "> """</ span >
219130
@@ -222,7 +133,7 @@ <h1>Source code for python_pachyderm.client</h1><div class="highlight"><pre>
222133 < span class ="n "> spout_config</ span > < span class ="o "> =</ span > < span class ="s2 "> "/pachctl/config.json"</ span >
223134 < span class ="n "> local_config</ span > < span class ="o "> =</ span > < span class ="sa "> f</ span > < span class ="s2 "> "</ span > < span class ="si "> {</ span > < span class ="n "> Path</ span > < span class ="o "> .</ span > < span class ="n "> home</ span > < span class ="p "> ()</ span > < span class ="si "> }</ span > < span class ="s2 "> /.pachyderm/config.json"</ span >
224135
225- < span class ="k "> def</ span > < span class ="fm "> __init__</ span > < span class ="p "> (</ span >
136+ < div class =" viewcode-block " id =" Client.__init__ " > < a class =" viewcode-back " href =" ../../python_pachyderm.html#python_pachyderm.client.Client.__init__ " > [docs] </ a > < span class ="k "> def</ span > < span class ="fm "> __init__</ span > < span class ="p "> (</ span >
226137 < span class ="bp "> self</ span > < span class ="p "> ,</ span >
227138 < span class ="n "> host</ span > < span class ="p "> :</ span > < span class ="nb "> str</ span > < span class ="o "> =</ span > < span class ="kc "> None</ span > < span class ="p "> ,</ span >
228139 < span class ="n "> port</ span > < span class ="p "> :</ span > < span class ="nb "> int</ span > < span class ="o "> =</ span > < span class ="kc "> None</ span > < span class ="p "> ,</ span >
@@ -306,7 +217,7 @@ <h1>Source code for python_pachyderm.client</h1><div class="highlight"><pre>
306217 < span class ="k "> if</ span > < span class ="ow "> not</ span > < span class ="n "> auth_token</ span > < span class ="ow "> and</ span > < span class ="n "> os</ span > < span class ="o "> .</ span > < span class ="n "> environ</ span > < span class ="o "> .</ span > < span class ="n "> get</ span > < span class ="p "> (</ span > < span class ="s2 "> "PACH_PYTHON_OIDC_TOKEN"</ span > < span class ="p "> ):</ span >
307218 < span class ="n "> resp</ span > < span class ="o "> =</ span > < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> authenticate_id_token</ span > < span class ="p "> (</ span > < span class ="n "> os</ span > < span class ="o "> .</ span > < span class ="n "> environ</ span > < span class ="o "> .</ span > < span class ="n "> get</ span > < span class ="p "> (</ span > < span class ="s2 "> "PACH_PYTHON_OIDC_TOKEN"</ span > < span class ="p "> ))</ span >
308219 < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> _auth_token</ span > < span class ="o "> =</ span > < span class ="n "> resp</ span >
309- < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> _metadata</ span > < span class ="o "> =</ span > < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> _build_metadata</ span > < span class ="p "> ()</ span >
220+ < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> _metadata</ span > < span class ="o "> =</ span > < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> _build_metadata</ span > < span class ="p "> ()</ span > </ div >
310221
311222< div class ="viewcode-block " id ="Client.new_in_cluster "> < a class ="viewcode-back " href ="../../python_pachyderm.html#python_pachyderm.client.Client.new_in_cluster "> [docs]</ a > < span class ="nd "> @classmethod</ span >
312223 < span class ="k "> def</ span > < span class ="nf "> new_in_cluster</ span > < span class ="p "> (</ span >
@@ -644,46 +555,30 @@ <h1>Source code for python_pachyderm.client</h1><div class="highlight"><pre>
644555</ pre > </ div >
645556
646557 </ div >
647-
648558 </ div >
649559 < footer >
650560
651561 < hr />
652562
653563 < div role ="contentinfo ">
654- < p >
655- © Copyright 2021, Joe Doliner.
656-
657- </ p >
564+ < p > © Copyright 2021, Joe Doliner.</ p >
658565 </ div >
659-
660-
661-
662- Built with < a href ="https://www.sphinx-doc.org/ "> Sphinx</ a > using a
663-
566+
567+ Built with < a href ="https://www.sphinx-doc.org/ "> Sphinx</ a > using a
664568 < a href ="https://github.com/readthedocs/sphinx_rtd_theme "> theme</ a >
665-
666- provided by < a href =" https://readthedocs.org " > Read the Docs </ a > .
569+ provided by < a href =" https://readthedocs.org " > Read the Docs </ a > .
570+
667571
668572</ footer >
669573 </ div >
670574 </ div >
671-
672575 </ section >
673-
674576 </ div >
675-
676-
677- < script type ="text/javascript ">
577+ < script >
678578 jQuery ( function ( ) {
679579 SphinxRtdTheme . Navigation . enable ( true ) ;
680580 } ) ;
681- </ script >
682-
683-
684-
685-
686-
581+ </ script >
687582
688583</ body >
689584</ html >
0 commit comments