quickbase-extract 0.4.1__tar.gz → 0.4.2__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.
Files changed (28) hide show
  1. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/CHANGELOG.md +7 -0
  2. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/PKG-INFO +1 -1
  3. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/pyproject.toml +1 -1
  4. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/api_handlers.py +3 -3
  5. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/cache_orchestration.py +2 -2
  6. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/report_data.py +1 -1
  7. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/.editorconfig +0 -0
  8. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/.gitignore +0 -0
  9. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/.pre-commit-config.yaml +0 -0
  10. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/.python-version +0 -0
  11. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/LICENSE.txt +0 -0
  12. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/README.md +0 -0
  13. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/TODO.md +0 -0
  14. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/__init__.py +0 -0
  15. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/cache_manager.py +0 -0
  16. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/cache_sync.py +0 -0
  17. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/config.py +0 -0
  18. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/py.typed +0 -0
  19. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/report_metadata.py +0 -0
  20. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/src/quickbase_extract/utils.py +0 -0
  21. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/conftest.py +0 -0
  22. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_api_handlers.py +0 -0
  23. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_cache_manager.py +0 -0
  24. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_cache_orchestration.py +0 -0
  25. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_cache_sync.py +0 -0
  26. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_report_data.py +0 -0
  27. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_report_metadata.py +0 -0
  28. {quickbase_extract-0.4.1 → quickbase_extract-0.4.2}/tests/test_utils.py +0 -0
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.2] - 2026-05-13
9
+
10
+ ### Fixed
11
+
12
+ - Fixed type signature of `get_data_parallel()` `ask_values` parameter from `dict[ReportConfig, dict[str, str | list[str]] | None] | None` to `dict[ReportConfig, dict[str, str | list[str]]] | None` to correctly reflect that inner dict values should not be `None`
13
+ - Fixed api_handlers functions to properly indicate they can return `None` on all code paths
14
+
8
15
  ## [0.4.1] - 2026-05-01
9
16
 
10
17
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quickbase-extract
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Extract and cache Quickbase report data with built-in error handling and S3 support
5
5
  Project-URL: Homepage, https://github.com/tbrezler/quickbase-extract
6
6
  Project-URL: Repository, https://github.com/tbrezler/quickbase-extract.git
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "quickbase-extract"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Extract and cache Quickbase report data with built-in error handling and S3 support"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -26,7 +26,7 @@ def handle_upsert(
26
26
  data: list[dict],
27
27
  description: str = "",
28
28
  max_retries: int = 3,
29
- ) -> dict:
29
+ ) -> dict | None:
30
30
  """Execute a Quickbase upsert with error handling, retry logic, and logging.
31
31
 
32
32
  Retries on rate limiting (429 errors) with exponential backoff and jitter.
@@ -85,7 +85,7 @@ def handle_delete(
85
85
  where: str,
86
86
  description: str = "",
87
87
  max_retries: int = 3,
88
- ) -> int:
88
+ ) -> int | None:
89
89
  """Execute a Quickbase delete with error handling, logging, and rate limit retry.
90
90
 
91
91
  Only retries on rate limiting (429 errors) with exponential backoff and jitter.
@@ -144,7 +144,7 @@ def handle_query(
144
144
  options: dict | None = None,
145
145
  description: str = "",
146
146
  max_retries: int = 3,
147
- ) -> dict:
147
+ ) -> dict | None:
148
148
  """Execute a Quickbase query with error handling, retry logic, and logging.
149
149
 
150
150
  Retries on rate limiting (429 errors) with exponential backoff and jitter.
@@ -123,7 +123,7 @@ def _refresh_data_cache(
123
123
  cache_manager: CacheManager,
124
124
  reports_to_refresh: list[ReportConfig],
125
125
  reasons: list[str],
126
- ask_values: dict[ReportConfig, dict[str, str | list[str]] | None] | None = None,
126
+ ask_values: dict[ReportConfig, dict[str, str | list[str]]] | None = None,
127
127
  ) -> None:
128
128
  """Refresh data cache for specified reports.
129
129
 
@@ -164,7 +164,7 @@ def ensure_cache_freshness(
164
164
  cache_manager: CacheManager,
165
165
  report_configs_all: list[ReportConfig],
166
166
  report_configs_to_cache: list[ReportConfig] | None = None,
167
- ask_values: dict[ReportConfig, dict[str, str | list[str]] | None] | None = None,
167
+ ask_values: dict[ReportConfig, dict[str, str | list[str]]] | None = None,
168
168
  metadata_stale_hours: float | None = None,
169
169
  data_stale_hours: float | None = None,
170
170
  cache_all_data: bool = False,
@@ -300,7 +300,7 @@ def get_data_parallel(
300
300
  report_metadata: dict,
301
301
  cache: bool = False,
302
302
  max_workers: int = 8,
303
- ask_values: dict[ReportConfig, dict[str, str | list[str]] | None] | None = None,
303
+ ask_values: dict[ReportConfig, dict[str, str | list[str]]] | None = None,
304
304
  ) -> dict[ReportConfig, list[dict]]:
305
305
  """Fetch multiple reports in parallel using cached report metadata.
306
306