sfq 0.0.36__tar.gz → 0.0.37__tar.gz
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-0.0.36 → sfq-0.0.37}/.github/workflows/publish.yml +1 -0
- {sfq-0.0.36 → sfq-0.0.37}/PKG-INFO +1 -1
- {sfq-0.0.36 → sfq-0.0.37}/pyproject.toml +1 -1
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/__init__.py +3 -3
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/http_client.py +1 -1
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/utils.py +3 -3
- {sfq-0.0.36 → sfq-0.0.37}/uv.lock +1 -1
- {sfq-0.0.36 → sfq-0.0.37}/.gitignore +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/.python-version +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/README.md +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/_cometd.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/auth.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/crud.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/debug_cleanup.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/exceptions.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/py.typed +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/query.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/src/sfq/soap.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_complex_nested.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_complex_nested_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_empty_list.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_empty_list_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_int_float_bool.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_int_float_bool_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_list_value.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_list_value_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_multiple_dicts.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_multiple_dicts_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_nested_dict.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_nested_dict_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_none_value.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_none_value_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_other_types.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_other_types_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_sample_report.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_sample_report_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_single_flat_dict.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_single_flat_dict_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_bool.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_bool_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_float.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_float_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_int.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/html/test_typecastable_keys_int_styled.html +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_auth.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_cdelete.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_compatibility.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_cquery.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_create.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_crud.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_crud_e2e.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_cupdate.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_debug_cleanup_e2e.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_debug_cleanup_unit.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_http_client.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_limits_api.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_log_trace_redact.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_open_frontdoor.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_query.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_query_client.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_query_e2e.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_query_integration.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_records_to_html.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_soap.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_soap_batch_operation.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_static_resources.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_utils.py +0 -0
- {sfq-0.0.36 → sfq-0.0.37}/tests/test_utils_html_table.py +0 -0
@@ -85,6 +85,7 @@ jobs:
|
|
85
85
|
|
86
86
|
echo "Updating src/sfq/http_client.py user_agent to $VERSION"
|
87
87
|
sed -i -E "s/(user_agent: str = \"sfq\/)[0-9]+\.[0-9]+\.[0-9]+(\")/\1$VERSION\2/" src/sfq/http_client.py
|
88
|
+
sed -i -E "s/(user_agent: str = \"sfq\/)[0-9]+\.[0-9]+\.[0-9]+(\",)/\1$VERSION\2/" src/sfq/http_client.py
|
88
89
|
|
89
90
|
- name: Run tests
|
90
91
|
run: pytest --verbose --strict-config
|
@@ -43,7 +43,7 @@ __all__ = [
|
|
43
43
|
"__version__",
|
44
44
|
]
|
45
45
|
|
46
|
-
__version__ = "0.0.
|
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.
|
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.
|
135
|
+
self.__version__ = "0.0.37"
|
136
136
|
"""
|
137
137
|
### `__version__`
|
138
138
|
|
@@ -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
|
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}">{
|
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>{
|
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>")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|