truefoundry 0.4.7rc1__py3-none-any.whl → 0.4.7rc2__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.

Potentially problematic release.


This version of truefoundry might be problematic. Click here for more details.

@@ -130,7 +130,7 @@ class SignedURLClient:
130
130
  def _upload_data(
131
131
  self,
132
132
  signed_url: str,
133
- data: Union[bytes, io.TextIOWrapper],
133
+ data: Union[bytes, io.BufferedReader],
134
134
  headers: Optional[Dict] = None,
135
135
  ) -> None:
136
136
  """
@@ -140,7 +140,7 @@ class SignedURLClient:
140
140
  signed_url: str: The signed URL to upload the data to.
141
141
  data: Bytes or IO: The data to upload.
142
142
  """
143
- if isinstance(data, io.TextIOWrapper):
143
+ if isinstance(data, io.BufferedReader):
144
144
  if os.fstat(data.fileno()).st_size == 0:
145
145
  data = b""
146
146
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.4.7rc1
3
+ Version: 0.4.7rc2
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -351,11 +351,11 @@ truefoundry/workflow/map_task.py,sha256=2m3qGXQ90k9LdS45q8dqCCECc3qr8t2m_LMCVd1m
351
351
  truefoundry/workflow/python_task.py,sha256=SRXRLC4vdBqGjhkwuaY39LEWN6iPCpJAuW17URRdWTY,1128
352
352
  truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs7NZmQdZ4bTiq6qXtsjUhE,206
353
353
  truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
354
- truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=Se-EOXKxaKaj5tCkOEx4OVtoCBijr4WICK0MHKymXTU,11083
354
+ truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=5mBCIc-ON7VSTzdyczeADgqSX5oJgso5gq2yT2AQqTY,11085
355
355
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=Hf6Dk6Fu6P7DqsK5ULgraf9DStjgigf-kjaRAMBW-RU,8680
356
356
  truefoundry/workflow/task.py,sha256=ToitYiKcNzFCtOVQwz1W8sRjbR97eVS7vQBdbgUQtKg,1779
357
357
  truefoundry/workflow/workflow.py,sha256=WaTqUjhwfAXDWu4E5ehuwAxrCbDJkoAf1oWmR2E9Qy0,4575
358
- truefoundry-0.4.7rc1.dist-info/METADATA,sha256=jzkcCUmOaBuvyPbS2WY9QqhFouTXqZjXbOMEzmDfJXM,3101
359
- truefoundry-0.4.7rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
360
- truefoundry-0.4.7rc1.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
361
- truefoundry-0.4.7rc1.dist-info/RECORD,,
358
+ truefoundry-0.4.7rc2.dist-info/METADATA,sha256=ge_sjcw5L2HD-5nIHHFCMtbg5wEdOfNruG0ZKAIQUis,3101
359
+ truefoundry-0.4.7rc2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
360
+ truefoundry-0.4.7rc2.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
361
+ truefoundry-0.4.7rc2.dist-info/RECORD,,