Skip to content

Commit 53b9e40

Browse files
committed
Fix secure-send failing due non-primitive data types on local env vars
1 parent bee2e1a commit 53b9e40

16 files changed

Lines changed: 483 additions & 258 deletions

File tree

docs/README.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h1>Kick off<a class="headerlink" href="#kick-off" title="Permalink to this head
114114
</pre></div>
115115
</div>
116116
<p><strong>Initiate - IDE</strong></p>
117-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">jarvis</span>
117+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">jarvis</span>
118118

119119

120120
<span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s1">&#39;__main__&#39;</span><span class="p">:</span>

docs/_sources/index.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,13 @@ Robinhood
559559
:members:
560560
:undoc-members:
561561

562+
SecureSend
563+
==========
564+
565+
.. automodule:: jarvis.executors.secure_send
566+
:members:
567+
:undoc-members:
568+
562569
Simulator
563570
=========
564571

docs/_static/pygments.css

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,70 +6,70 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
66
.highlight .hll { background-color: #ffffcc }
77
.highlight { background: #eeffcc; }
88
.highlight .c { color: #408090; font-style: italic } /* Comment */
9-
.highlight .err { border: 1px solid #FF0000 } /* Error */
9+
.highlight .err { border: 1px solid #F00 } /* Error */
1010
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
11-
.highlight .o { color: #666666 } /* Operator */
11+
.highlight .o { color: #666 } /* Operator */
1212
.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
1313
.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
1414
.highlight .cp { color: #007020 } /* Comment.Preproc */
1515
.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
1616
.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
17-
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
17+
.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */
1818
.highlight .gd { color: #A00000 } /* Generic.Deleted */
1919
.highlight .ge { font-style: italic } /* Generic.Emph */
2020
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
21-
.highlight .gr { color: #FF0000 } /* Generic.Error */
21+
.highlight .gr { color: #F00 } /* Generic.Error */
2222
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
2323
.highlight .gi { color: #00A000 } /* Generic.Inserted */
24-
.highlight .go { color: #333333 } /* Generic.Output */
25-
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
24+
.highlight .go { color: #333 } /* Generic.Output */
25+
.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */
2626
.highlight .gs { font-weight: bold } /* Generic.Strong */
2727
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
28-
.highlight .gt { color: #0044DD } /* Generic.Traceback */
28+
.highlight .gt { color: #04D } /* Generic.Traceback */
2929
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
3030
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
3131
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
3232
.highlight .kp { color: #007020 } /* Keyword.Pseudo */
3333
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
3434
.highlight .kt { color: #902000 } /* Keyword.Type */
3535
.highlight .m { color: #208050 } /* Literal.Number */
36-
.highlight .s { color: #4070a0 } /* Literal.String */
37-
.highlight .na { color: #4070a0 } /* Name.Attribute */
36+
.highlight .s { color: #4070A0 } /* Literal.String */
37+
.highlight .na { color: #4070A0 } /* Name.Attribute */
3838
.highlight .nb { color: #007020 } /* Name.Builtin */
39-
.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
40-
.highlight .no { color: #60add5 } /* Name.Constant */
41-
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
42-
.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
39+
.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */
40+
.highlight .no { color: #60ADD5 } /* Name.Constant */
41+
.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */
42+
.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */
4343
.highlight .ne { color: #007020 } /* Name.Exception */
44-
.highlight .nf { color: #06287e } /* Name.Function */
44+
.highlight .nf { color: #06287E } /* Name.Function */
4545
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
46-
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
46+
.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */
4747
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
48-
.highlight .nv { color: #bb60d5 } /* Name.Variable */
48+
.highlight .nv { color: #BB60D5 } /* Name.Variable */
4949
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
50-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
50+
.highlight .w { color: #BBB } /* Text.Whitespace */
5151
.highlight .mb { color: #208050 } /* Literal.Number.Bin */
5252
.highlight .mf { color: #208050 } /* Literal.Number.Float */
5353
.highlight .mh { color: #208050 } /* Literal.Number.Hex */
5454
.highlight .mi { color: #208050 } /* Literal.Number.Integer */
5555
.highlight .mo { color: #208050 } /* Literal.Number.Oct */
56-
.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
57-
.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
58-
.highlight .sc { color: #4070a0 } /* Literal.String.Char */
59-
.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
60-
.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
61-
.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
62-
.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
63-
.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
64-
.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
65-
.highlight .sx { color: #c65d09 } /* Literal.String.Other */
56+
.highlight .sa { color: #4070A0 } /* Literal.String.Affix */
57+
.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */
58+
.highlight .sc { color: #4070A0 } /* Literal.String.Char */
59+
.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */
60+
.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */
61+
.highlight .s2 { color: #4070A0 } /* Literal.String.Double */
62+
.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */
63+
.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */
64+
.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */
65+
.highlight .sx { color: #C65D09 } /* Literal.String.Other */
6666
.highlight .sr { color: #235388 } /* Literal.String.Regex */
67-
.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
67+
.highlight .s1 { color: #4070A0 } /* Literal.String.Single */
6868
.highlight .ss { color: #517918 } /* Literal.String.Symbol */
6969
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
70-
.highlight .fm { color: #06287e } /* Name.Function.Magic */
71-
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
72-
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
73-
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
74-
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
70+
.highlight .fm { color: #06287E } /* Name.Function.Magic */
71+
.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */
72+
.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */
73+
.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */
74+
.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */
7575
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */

docs/genindex.html

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ <h2 id="_">_</h2>
7373
<table style="width: 100%" class="indextable genindextable"><tr>
7474
<td style="width: 33%; vertical-align: top;"><ul>
7575
<li><a href="index.html#jarvis.modules.database.database.__TestDatabase">__TestDatabase (class in jarvis.modules.database.database)</a>
76+
</li>
77+
<li><a href="index.html#jarvis.executors.secure_send.SecretResponse._abc_impl">_abc_impl (jarvis.executors.secure_send.SecretResponse attribute)</a>
7678
</li>
7779
<li><a href="index.html#tests.listener_test.TestListener._class_cleanups">_class_cleanups (tests.listener_test.TestListener attribute)</a>
7880

@@ -101,11 +103,11 @@ <h2 id="_">_</h2>
101103
<li><a href="index.html#jarvis.modules.camera.camera.Camera._get_camera_info_darwin">_get_camera_info_darwin() (jarvis.modules.camera.camera.Camera method)</a>
102104
</li>
103105
<li><a href="index.html#jarvis.modules.camera.camera.Camera._get_camera_info_linux">_get_camera_info_linux() (jarvis.modules.camera.camera.Camera method)</a>
104-
</li>
105-
<li><a href="index.html#jarvis.modules.camera.camera.Camera._get_camera_info_windows">_get_camera_info_windows() (jarvis.modules.camera.camera.Camera method)</a>
106106
</li>
107107
</ul></td>
108108
<td style="width: 33%; vertical-align: top;"><ul>
109+
<li><a href="index.html#jarvis.modules.camera.camera.Camera._get_camera_info_windows">_get_camera_info_windows() (jarvis.modules.camera.camera.Camera method)</a>
110+
</li>
109111
<li><a href="index.html#jarvis.modules.telegram.bot._get_file">_get_file() (in module jarvis.modules.telegram.bot)</a>
110112
</li>
111113
<li><a href="index.html#jarvis.modules.models.models._global_validations">_global_validations() (in module jarvis.modules.models.models)</a>
@@ -503,6 +505,8 @@ <h2 id="D">D</h2>
503505
<li><a href="index.html#jarvis.modules.utils.util.delay_calculator">delay_calculator() (in module jarvis.modules.utils.util)</a>
504506
</li>
505507
<li><a href="index.html#jarvis.executors.commander.delay_condition">delay_condition() (in module jarvis.executors.commander)</a>
508+
</li>
509+
<li><a href="index.html#jarvis.executors.files.delete">delete() (in module jarvis.executors.files)</a>
506510
</li>
507511
<li><a href="index.html#jarvis.executors.processor.delete_db">delete_db() (in module jarvis.executors.processor)</a>
508512
</li>
@@ -779,6 +783,8 @@ <h2 id="F">F</h2>
779783
<li><a href="index.html#jarvis.executors.static_responses.form">form() (in module jarvis.executors.static_responses)</a>
780784
</li>
781785
<li><a href="index.html#jarvis.modules.utils.util.format_nos">format_nos() (in module jarvis.modules.utils.util)</a>
786+
</li>
787+
<li><a href="index.html#jarvis.executors.secure_send.format_secret">format_secret() (in module jarvis.executors.secure_send)</a>
782788
</li>
783789
<li><a href="index.html#jarvis.modules.tv.lg.LGWebOS.forward">forward() (jarvis.modules.tv.lg.LGWebOS method)</a>
784790

@@ -848,9 +854,9 @@ <h2 id="G">G</h2>
848854
</li>
849855
<li><a href="index.html#jarvis.executors.files.get_automation">get_automation() (in module jarvis.executors.files)</a>
850856
</li>
851-
<li><a href="index.html#jarvis.executors.others.get_aws_params">get_aws_params() (in module jarvis.executors.others)</a>
857+
<li><a href="index.html#jarvis.executors.secure_send.get_aws_params">get_aws_params() (in module jarvis.executors.secure_send)</a>
852858
</li>
853-
<li><a href="index.html#jarvis.executors.others.get_aws_secrets">get_aws_secrets() (in module jarvis.executors.others)</a>
859+
<li><a href="index.html#jarvis.executors.secure_send.get_aws_secrets">get_aws_secrets() (in module jarvis.executors.secure_send)</a>
854860
</li>
855861
<li><a href="index.html#jarvis.modules.camera.camera.Camera.get_camera_info">get_camera_info() (jarvis.modules.camera.camera.Camera method)</a>
856862
</li>
@@ -1602,6 +1608,13 @@ <h2 id="J">J</h2>
16021608
</ul></td>
16031609
<td style="width: 33%; vertical-align: top;"><ul>
16041610
<li>
1611+
jarvis.executors.secure_send
1612+
1613+
<ul>
1614+
<li><a href="index.html#module-jarvis.executors.secure_send">module</a>
1615+
</li>
1616+
</ul></li>
1617+
<li>
16051618
jarvis.executors.simulator
16061619

16071620
<ul>
@@ -2267,6 +2280,8 @@ <h2 id="M">M</h2>
22672280
<li><a href="index.html#jarvis.modules.crontab.expression.CronExpression.MINUTES">MINUTES (jarvis.modules.crontab.expression.CronExpression attribute)</a>
22682281
</li>
22692282
<li><a href="index.html#jarvis.modules.facenet.face.FaceNet.MODEL">MODEL (jarvis.modules.facenet.face.FaceNet attribute)</a>
2283+
</li>
2284+
<li><a href="index.html#jarvis.executors.secure_send.SecretResponse.model_config">model_config (jarvis.executors.secure_send.SecretResponse attribute)</a>
22702285
</li>
22712286
<li>
22722287
module
@@ -2397,6 +2412,8 @@ <h2 id="M">M</h2>
23972412
<li><a href="index.html#module-jarvis.executors.restrictions">jarvis.executors.restrictions</a>
23982413
</li>
23992414
<li><a href="index.html#module-jarvis.executors.robinhood">jarvis.executors.robinhood</a>
2415+
</li>
2416+
<li><a href="index.html#module-jarvis.executors.secure_send">jarvis.executors.secure_send</a>
24002417
</li>
24012418
<li><a href="index.html#module-jarvis.executors.simulator">jarvis.executors.simulator</a>
24022419
</li>
@@ -2890,10 +2907,12 @@ <h2 id="R">R</h2>
28902907
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_robinhood">reset_robinhood() (in module jarvis.api.squire.timeout_otp)</a>
28912908
</li>
28922909
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_stock_monitor">reset_stock_monitor() (in module jarvis.api.squire.timeout_otp)</a>
2910+
</li>
2911+
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_surveillance">reset_surveillance() (in module jarvis.api.squire.timeout_otp)</a>
28932912
</li>
28942913
</ul></td>
28952914
<td style="width: 33%; vertical-align: top;"><ul>
2896-
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_surveillance">reset_surveillance() (in module jarvis.api.squire.timeout_otp)</a>
2915+
<li><a href="index.html#jarvis.executors.secure_send.SecretResponse.response">response (jarvis.executors.secure_send.SecretResponse attribute)</a>
28972916
</li>
28982917
<li><a href="index.html#jarvis.executors.controls.restart">restart() (in module jarvis.executors.controls)</a>
28992918
</li>
@@ -2975,7 +2994,9 @@ <h2 id="S">S</h2>
29752994
</li>
29762995
<li><a href="index.html#jarvis.modules.models.classes.BackgroundTask.seconds">seconds (jarvis.modules.models.classes.BackgroundTask attribute)</a>
29772996
</li>
2978-
<li><a href="index.html#jarvis.executors.others.secrets">secrets() (in module jarvis.executors.others)</a>
2997+
<li><a href="index.html#jarvis.executors.secure_send.SecretResponse">SecretResponse (class in jarvis.executors.secure_send)</a>
2998+
</li>
2999+
<li><a href="index.html#jarvis.executors.secure_send.secrets">secrets() (in module jarvis.executors.secure_send)</a>
29793000
</li>
29803001
<li><a href="index.html#jarvis.api.routers.routes.APIPath.secure_send">secure_send (jarvis.api.routers.routes.APIPath attribute)</a>
29813002

@@ -3204,6 +3225,8 @@ <h2 id="S">S</h2>
32043225
<li><a href="index.html#jarvis.executors.controls.stop_terminals">stop_terminals() (in module jarvis.executors.controls)</a>
32053226
</li>
32063227
<li><a href="index.html#jarvis.modules.exceptions.StopSignal">StopSignal</a>
3228+
</li>
3229+
<li><a href="index.html#jarvis.executors.secure_send.store_secret">store_secret() (in module jarvis.executors.secure_send)</a>
32073230
</li>
32083231
<li><a href="index.html#jarvis.api.squire.surveillance_squire.streamer">streamer() (in module jarvis.api.squire.surveillance_squire)</a>
32093232
</li>
@@ -3392,6 +3415,8 @@ <h2 id="T">T</h2>
33923415
<li><a href="index.html#jarvis.api.models.settings.Robinhood.token">(jarvis.api.models.settings.Robinhood attribute)</a>
33933416
</li>
33943417
<li><a href="index.html#jarvis.api.models.settings.Surveillance.token">(jarvis.api.models.settings.Surveillance attribute)</a>
3418+
</li>
3419+
<li><a href="index.html#jarvis.executors.secure_send.SecretResponse.token">(jarvis.executors.secure_send.SecretResponse attribute)</a>
33953420
</li>
33963421
</ul></li>
33973422
<li><a href="index.html#jarvis.modules.utils.util.token">token() (in module jarvis.modules.utils.util)</a>

0 commit comments

Comments
 (0)