sfq 0.0.36__py3-none-any.whl → 0.0.37__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.
sfq/__init__.py CHANGED
@@ -43,7 +43,7 @@ __all__ = [
43
43
  "__version__",
44
44
  ]
45
45
 
46
- __version__ = "0.0.36"
46
+ __version__ = "0.0.37"
47
47
  """
48
48
  ### `__version__`
49
49
 
@@ -67,7 +67,7 @@ class SFAuth:
67
67
  access_token: Optional[str] = None,
68
68
  token_expiration_time: Optional[float] = None,
69
69
  token_lifetime: int = 15 * 60,
70
- user_agent: str = "sfq/0.0.36",
70
+ user_agent: str = "sfq/0.0.37",
71
71
  sforce_client: str = "_auto",
72
72
  proxy: str = "_auto",
73
73
  ) -> None:
@@ -132,7 +132,7 @@ class SFAuth:
132
132
  self._debug_cleanup = DebugCleanup(sf_auth=self)
133
133
 
134
134
  # Store version information
135
- self.__version__ = "0.0.36"
135
+ self.__version__ = "0.0.37"
136
136
  """
137
137
  ### `__version__`
138
138
 
sfq/http_client.py CHANGED
@@ -28,7 +28,7 @@ class HTTPClient:
28
28
  def __init__(
29
29
  self,
30
30
  auth_manager: AuthManager,
31
- user_agent: str = "sfq/0.0.36",
31
+ user_agent: str = "sfq/0.0.37",
32
32
  sforce_client: str = "_auto",
33
33
  high_api_usage_threshold: int = 80,
34
34
  ) -> None:
sfq/utils.py CHANGED
@@ -215,7 +215,7 @@ def dicts_to_html_table(
215
215
  if val is None:
216
216
  return ""
217
217
  if isinstance(val, (int, float, str, bool)):
218
- return escape(str(val))
218
+ return str(val)
219
219
  if isinstance(val, list):
220
220
  return (
221
221
  "<ul>"
@@ -277,7 +277,7 @@ def dicts_to_html_table(
277
277
  )
278
278
  if columns:
279
279
  html = [f'<table style="{table_style}"><thead><tr>']
280
- html.extend(f'<th style="{th_style}">{escape(col)}</th>' for col in columns)
280
+ html.extend(f'<th style="{th_style}">{col}</th>' for col in columns)
281
281
  html.append("</tr></thead><tbody>")
282
282
  for d in items:
283
283
  html.append("<tr>")
@@ -294,7 +294,7 @@ def dicts_to_html_table(
294
294
  else:
295
295
  if columns:
296
296
  html = ["<table><thead><tr>"]
297
- html.extend(f"<th>{escape(col)}</th>" for col in columns)
297
+ html.extend(f"<th>{col}</th>" for col in columns)
298
298
  html.append("</tr></thead><tbody>")
299
299
  for d in items:
300
300
  html.append("<tr>")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sfq
3
- Version: 0.0.36
3
+ Version: 0.0.37
4
4
  Summary: Python wrapper for the Salesforce's Query API.
5
5
  Author-email: David Moruzzi <sfq.pypi@dmoruzi.com>
6
6
  Keywords: salesforce,salesforce query
@@ -1,14 +1,14 @@
1
- sfq/__init__.py,sha256=VlPphhQ59mVW-BmJHE_S5P4-v1czO-CSX9icraMUx3E,20465
1
+ sfq/__init__.py,sha256=Ra4GajxYD_6D17qjifkE90-udmurVkchOOUpszNpmOw,20465
2
2
  sfq/_cometd.py,sha256=QqdSGsms9uFm7vgmxgau7m2UuLHztK1yjN-BNjeo8xM,10381
3
3
  sfq/auth.py,sha256=bD7kEI5UpUAh0xpE2GzB7EatfLE0q-rqG7tOpqn_cQY,13985
4
4
  sfq/crud.py,sha256=fj4wPMt0DcrMKbMWQ9AUMsUNUWicsY93LP_3Q7lhmDU,20300
5
5
  sfq/debug_cleanup.py,sha256=e2_Hpigy3F7XsATOUXo8DZNmuEIL9SDD0tBlZIZeQLc,2638
6
6
  sfq/exceptions.py,sha256=HZctvGj1SGguca0oG6fqSmf3KDbq4v68FfQfqB-crpo,906
7
- sfq/http_client.py,sha256=7SWfnJxHZMNphPc-pd3DUzPDrJymPQ9znNMSALnFiHQ,11636
7
+ sfq/http_client.py,sha256=DysAr4cn_0Aj28x_dBsR9pt_cqG_8KC8X7fEDtuIopY,11636
8
8
  sfq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  sfq/query.py,sha256=AoagL8PMKUcpbPPTcHJPKhmUdDDPa0La4JLC0TUN_Yc,14586
10
10
  sfq/soap.py,sha256=FM4msP9ErrgLFaNOQy_kYVde8QFkT4yQu9TfMiZG0VA,7006
11
- sfq/utils.py,sha256=3RjloIAO0A2i8nkbPwB6m9nnKhMvXBSsqnnKFmY1cwY,10782
12
- sfq-0.0.36.dist-info/METADATA,sha256=_6EWxpLVyuecOv0St_dTygTIt8wXodqtgx3cfQnNKHc,6899
13
- sfq-0.0.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- sfq-0.0.36.dist-info/RECORD,,
11
+ sfq/utils.py,sha256=AkNSnlUsFaDua9Uif1qCJvNlaxo4E0s5HYF-W8_RKKo,10758
12
+ sfq-0.0.37.dist-info/METADATA,sha256=nGPDbcSM1PSq_aBfSxbtZu09kquoyJpT1gjl24RTQc4,6899
13
+ sfq-0.0.37.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ sfq-0.0.37.dist-info/RECORD,,
File without changes