ratio1 3.4.45__py3-none-any.whl → 3.4.46__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ratio1/_ver.py CHANGED
@@ -1,4 +1,4 @@
1
- __VER__ = "3.4.45"
1
+ __VER__ = "3.4.46"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -23,7 +23,7 @@ class WebappPipeline(Pipeline):
23
23
  ) -> None:
24
24
  """
25
25
  This is a special type of pipeline that is used to deploy webapps.
26
- It will override the deploy method to return the ngrok URL as well as the on_data method to extract the ngrok URL.
26
+ It will override the deploy method to return the app URL as well as the on_data method to extract the app URL.
27
27
  """
28
28
  self.app_url = None
29
29
  self.__extra_debug = extra_debug
@@ -47,7 +47,7 @@ class WebappPipeline(Pipeline):
47
47
 
48
48
  def __check_payloads(self, session, plugin_signature, plugin_instance, data):
49
49
  """
50
- Check if the payload if from ngrok and extract the ngrok URL.
50
+ Check if the payload is from webapp and extract the app URL.
51
51
 
52
52
  Parameters
53
53
  ----------
@@ -127,13 +127,13 @@ class WebappPipeline(Pipeline):
127
127
  The URL of the webapp.
128
128
  """
129
129
  res = super().deploy(verbose=verbose, timeout=timeout, **kwargs)
130
- # now we wait for the ngrok url to be available
130
+ # now we wait for the app url to be available
131
131
  start = time.time()
132
132
  while self.app_url is None:
133
133
  elapsed = time.time() - start
134
134
  if elapsed > timeout:
135
- msg = "Timeout waiting for ngrok url"
135
+ msg = "Timeout waiting for app url"
136
136
  self.P(msg, color="red")
137
137
  raise Exception(msg)
138
- # return the ngrok url
138
+ # return the app url
139
139
  return self.app_url
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ratio1
3
- Version: 3.4.45
3
+ Version: 3.4.46
4
4
  Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
5
5
  Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
6
6
  Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
@@ -1,5 +1,5 @@
1
1
  ratio1/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
2
- ratio1/_ver.py,sha256=DyYAVKy3hLVQtMWbQSTyJLGNsx7pQ8Majk60ovEC-iU,331
2
+ ratio1/_ver.py,sha256=yKkpcAw7jo94VThUI1lNEge8erleXlcAVydsGtnjoFc,331
3
3
  ratio1/base_decentra_object.py,sha256=iXvAAf6wPnGWzeeiRfwLojVoan-m1e_VsyPzjUQuENo,4492
4
4
  ratio1/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
5
5
  ratio1/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
@@ -10,7 +10,7 @@ ratio1/base/pipeline.py,sha256=szoHrk1qBdY6NKPUk3tUTsJx3XzYp5C2GTOlzRiQi48,62489
10
10
  ratio1/base/plugin_template.py,sha256=Gs438cSkhvxPujE4CRH_32pcuZaVwI9kia8E4VDRpSU,138794
11
11
  ratio1/base/responses.py,sha256=ZKBZmRhYDv8M8mQ5C_ahGsQvtWH4b9ImRcuerQdZmNw,6937
12
12
  ratio1/base/transaction.py,sha256=l2JCzTgH3-irFwCEBGrS3z8VOisA8GdC3zEfqgJOTG4,5138
13
- ratio1/base/webapp_pipeline.py,sha256=cH31-kuAIryUedObeW7qgxfU0ebK6qJKRxuHbbUHYVA,3706
13
+ ratio1/base/webapp_pipeline.py,sha256=H83EjkmyljetdHZ18V5R8OU3wXoWi_EpV0AAhQ4AM64,3695
14
14
  ratio1/base/payload/__init__.py,sha256=y8fBI8tG2ObNfaXFWjyWZXwu878FRYj_I8GIbHT4GKE,29
15
15
  ratio1/base/payload/payload.py,sha256=MoCeL6iZzl1an-4eqRpLW0iz6Yk3OvlBrymcmhWeecM,2689
16
16
  ratio1/bc/__init__.py,sha256=BI5pcqHdhwnMdbWTYDLW1cVP_844VtLra-lz7xprgsk,171
@@ -103,8 +103,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
103
103
  ratio1/utils/config.py,sha256=IMXAN9bpHePKEuTFGRRqFJXz_vBa-wi7s9gLhFEheRY,9953
104
104
  ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
105
105
  ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
106
- ratio1-3.4.45.dist-info/METADATA,sha256=LHCIYIkIvXNehd-sURLHvre207r1Gb2pbi6rhROFlQQ,12248
107
- ratio1-3.4.45.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
- ratio1-3.4.45.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
- ratio1-3.4.45.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
- ratio1-3.4.45.dist-info/RECORD,,
106
+ ratio1-3.4.46.dist-info/METADATA,sha256=o9yludXRoxiVOwaB1y9eVn_zXHDmCB3Tx43PGuSWCGY,12248
107
+ ratio1-3.4.46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
+ ratio1-3.4.46.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
+ ratio1-3.4.46.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
+ ratio1-3.4.46.dist-info/RECORD,,