truefoundry 0.3.0rc11__py3-none-any.whl → 0.3.0rc12__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.

@@ -77,8 +77,6 @@ class ServiceFoundryServerAuthServiceClient(AuthServiceClient):
77
77
  data = {"tenantName": self._tenant_name}
78
78
  res = requests.post(url, json=data)
79
79
  res = request_handling(res)
80
- # TODO: temporary cleanup of incorrect attributes
81
- res = {"userCode": res.get("userCode"), "deviceCode": res.get("deviceCode")}
82
80
  return DeviceCode.parse_obj(res)
83
81
 
84
82
  def get_token_from_device_code(
@@ -147,6 +145,8 @@ class AuthServerServiceClient(AuthServiceClient):
147
145
  data = {"tenantName": self._tenant_name}
148
146
  res = requests.post(url, json=data)
149
147
  res = request_handling(res)
148
+ # TODO: temporary cleanup of incorrect attributes
149
+ res = {"userCode": res.get("userCode"), "deviceCode": res.get("deviceCode")}
150
150
  return DeviceCode.parse_obj(res)
151
151
 
152
152
  def get_token_from_device_code(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.3.0rc11
3
+ Version: 0.3.0rc12
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -78,7 +78,7 @@ truefoundry/deploy/io/output_callback.py,sha256=V2YwUFec4G4a67lM4r-x_64AqdOVNo_9
78
78
  truefoundry/deploy/io/rich_output_callback.py,sha256=TJLiRD-EnFVwgcepxR7WN0koKqW1X2DevETPhNPi_nU,829
79
79
  truefoundry/deploy/json_util.py,sha256=x_-7YYQ4_HUIJ8ofOcclAp9JWhgTWjR9Th6Q0FuRqGk,175
80
80
  truefoundry/deploy/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
- truefoundry/deploy/lib/auth/auth_service_client.py,sha256=Mzdl09CR8EHG5BA7vDTd0sOk2iStCgQeTIldjoCxyd0,7386
81
+ truefoundry/deploy/lib/auth/auth_service_client.py,sha256=C3sgoDZ2RUijJY_nStqt-BmSwUAdjVa8yAhazOGz710,7386
82
82
  truefoundry/deploy/lib/auth/credential_file_manager.py,sha256=DXeXWoVakfZI2Geu8Futwef_eVMHrZ1et7d9MIXOhhY,4233
83
83
  truefoundry/deploy/lib/auth/credential_provider.py,sha256=eXgfA2-q20XxslOmlocmi-rKQ5AtBxVMGuftfrLVlb4,4403
84
84
  truefoundry/deploy/lib/auth/servicefoundry_session.py,sha256=2OahwRg-8l3QUwpC2iLA8lHavkeTxKXUP_0AN27HPS8,1859
@@ -130,7 +130,7 @@ truefoundry/workflow/map_task.py,sha256=2m3qGXQ90k9LdS45q8dqCCECc3qr8t2m_LMCVd1m
130
130
  truefoundry/workflow/python_task.py,sha256=SRXRLC4vdBqGjhkwuaY39LEWN6iPCpJAuW17URRdWTY,1128
131
131
  truefoundry/workflow/task.py,sha256=ToitYiKcNzFCtOVQwz1W8sRjbR97eVS7vQBdbgUQtKg,1779
132
132
  truefoundry/workflow/workflow.py,sha256=WaTqUjhwfAXDWu4E5ehuwAxrCbDJkoAf1oWmR2E9Qy0,4575
133
- truefoundry-0.3.0rc11.dist-info/METADATA,sha256=Qo4AmBpLd161EugnEW1A6n8e1S4jIZPJg3wyQEjvcio,2694
134
- truefoundry-0.3.0rc11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
135
- truefoundry-0.3.0rc11.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
136
- truefoundry-0.3.0rc11.dist-info/RECORD,,
133
+ truefoundry-0.3.0rc12.dist-info/METADATA,sha256=UHVlgtge2QopJNqTeUfoy51XbmFNbTrCKSMC5HUieug,2694
134
+ truefoundry-0.3.0rc12.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
135
+ truefoundry-0.3.0rc12.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
136
+ truefoundry-0.3.0rc12.dist-info/RECORD,,