boarddata 6.2.2__tar.gz → 6.4.1__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 (60) hide show
  1. {boarddata-6.2.2 → boarddata-6.4.1}/PKG-INFO +1 -1
  2. {boarddata-6.2.2 → boarddata-6.4.1}/__init__.py +1 -1
  3. {boarddata-6.2.2 → boarddata-6.4.1}/_assemblies.py +22 -0
  4. {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/PKG-INFO +1 -1
  5. {boarddata-6.2.2 → boarddata-6.4.1}/pyproject.toml +1 -1
  6. {boarddata-6.2.2 → boarddata-6.4.1}/CLAUDE.md +0 -0
  7. {boarddata-6.2.2 → boarddata-6.4.1}/README.md +0 -0
  8. {boarddata-6.2.2 → boarddata-6.4.1}/_auditors.py +0 -0
  9. {boarddata-6.2.2 → boarddata-6.4.1}/_base.py +0 -0
  10. {boarddata-6.2.2 → boarddata-6.4.1}/_comex.py +0 -0
  11. {boarddata-6.2.2 → boarddata-6.4.1}/_companies.py +0 -0
  12. {boarddata-6.2.2 → boarddata-6.4.1}/_criteria.py +0 -0
  13. {boarddata-6.2.2 → boarddata-6.4.1}/_directors.py +0 -0
  14. {boarddata-6.2.2 → boarddata-6.4.1}/_documents.py +0 -0
  15. {boarddata-6.2.2 → boarddata-6.4.1}/_esg.py +0 -0
  16. {boarddata-6.2.2 → boarddata-6.4.1}/_indexes.py +0 -0
  17. {boarddata-6.2.2 → boarddata-6.4.1}/_persons.py +0 -0
  18. {boarddata-6.2.2 → boarddata-6.4.1}/_sentinel.py +0 -0
  19. {boarddata-6.2.2 → boarddata-6.4.1}/_utilities.py +0 -0
  20. {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/SOURCES.txt +0 -0
  21. {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/dependency_links.txt +0 -0
  22. {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/requires.txt +0 -0
  23. {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/top_level.txt +0 -0
  24. {boarddata-6.2.2 → boarddata-6.4.1}/cache.py +0 -0
  25. {boarddata-6.2.2 → boarddata-6.4.1}/client.py +0 -0
  26. {boarddata-6.2.2 → boarddata-6.4.1}/errors.py +0 -0
  27. {boarddata-6.2.2 → boarddata-6.4.1}/py.typed +0 -0
  28. {boarddata-6.2.2 → boarddata-6.4.1}/setup.cfg +0 -0
  29. {boarddata-6.2.2 → boarddata-6.4.1}/tests/__init__.py +0 -0
  30. {boarddata-6.2.2 → boarddata-6.4.1}/tests/conftest.py +0 -0
  31. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_assemblies.py +0 -0
  32. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_auditors.py +0 -0
  33. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_base.py +0 -0
  34. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_build_payload.py +0 -0
  35. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_cache.py +0 -0
  36. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_comex.py +0 -0
  37. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_companies.py +0 -0
  38. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_config.py +0 -0
  39. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_criteria.py +0 -0
  40. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_directors.py +0 -0
  41. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_documents.py +0 -0
  42. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_esg.py +0 -0
  43. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_exports.py +0 -0
  44. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_indexes.py +0 -0
  45. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_persons.py +0 -0
  46. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_sentinel.py +0 -0
  47. {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_utilities.py +0 -0
  48. {boarddata-6.2.2 → boarddata-6.4.1}/types/__init__.py +0 -0
  49. {boarddata-6.2.2 → boarddata-6.4.1}/types/assemblies.py +0 -0
  50. {boarddata-6.2.2 → boarddata-6.4.1}/types/auditors.py +0 -0
  51. {boarddata-6.2.2 → boarddata-6.4.1}/types/comex.py +0 -0
  52. {boarddata-6.2.2 → boarddata-6.4.1}/types/companies.py +0 -0
  53. {boarddata-6.2.2 → boarddata-6.4.1}/types/core.py +0 -0
  54. {boarddata-6.2.2 → boarddata-6.4.1}/types/criteria.py +0 -0
  55. {boarddata-6.2.2 → boarddata-6.4.1}/types/directors.py +0 -0
  56. {boarddata-6.2.2 → boarddata-6.4.1}/types/documents.py +0 -0
  57. {boarddata-6.2.2 → boarddata-6.4.1}/types/esg.py +0 -0
  58. {boarddata-6.2.2 → boarddata-6.4.1}/types/indexes.py +0 -0
  59. {boarddata-6.2.2 → boarddata-6.4.1}/types/persons.py +0 -0
  60. {boarddata-6.2.2 → boarddata-6.4.1}/types/sentinel.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boarddata
3
- Version: 6.2.2
3
+ Version: 6.4.1
4
4
  Summary: Python SDK for the BoardData V2 REST API
5
5
  License: MIT
6
6
  Classifier: Development Status :: 4 - Beta
@@ -6,7 +6,7 @@ from .cache import FileTokenCache, ScalewaySecretTokenCache
6
6
  from .client import BoardDataClient
7
7
  from .errors import BoardDataError, ExportTooLargeError
8
8
 
9
- __version__ = "6.2.2"
9
+ __version__ = "6.4.1"
10
10
  __all__ = [
11
11
  "Base",
12
12
  "BoardDataClient",
@@ -407,12 +407,34 @@ class AssemblyMixin:
407
407
  Common filter kwargs (forwarded as query params):
408
408
  created_from: str (YYYY-MM-DD) — only questions created on/after.
409
409
  created_to: str (YYYY-MM-DD) — only questions created on/before.
410
+ assembly_date_from / assembly_date_to: str (YYYY-MM-DD) — filter
411
+ by parent assembly's ``assembly_date``.
412
+ assembly_id: str — comma-separated UUIDs; returns questions whose
413
+ parent assembly is in the list. For batch-fetching questions
414
+ across many assemblies, prefer ``list_questions_batch`` — it
415
+ hits a sibling endpoint that drops the ``-created_at`` sort
416
+ (unindexed, dominates query time) in favor of the FK-indexed
417
+ ``(assembly, position)`` ordering.
410
418
  page, page_size: pagination.
411
419
 
412
420
  Any key accepted by ``QuestionListFilterSet`` is forwarded verbatim.
413
421
  """
414
422
  return self._get("questions/", **params) # type: ignore[attr-defined]
415
423
 
424
+ def list_questions_batch(self, **params: Any) -> PaginatedResponse:
425
+ """List questions optimized for assembly-id batch fetches.
426
+
427
+ Hits ``GET /api/questions-batch/``.
428
+
429
+ Same payload shape and filter set as ``list_questions``, but uses
430
+ the model's default ``(assembly, position)`` ordering — FK-index
431
+ backed — instead of ``-created_at`` (unindexed). For ``assembly_id``
432
+ scans of 50+ UUIDs this collapses per-call latency from 6-10s to
433
+ sub-second; for unfiltered LexisNexis-style exports prefer
434
+ ``list_questions`` so rows arrive newest-first.
435
+ """
436
+ return self._get("questions-batch/", **params) # type: ignore[attr-defined]
437
+
416
438
  def create_questions(
417
439
  self,
418
440
  assembly_uid: str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boarddata
3
- Version: 6.2.2
3
+ Version: 6.4.1
4
4
  Summary: Python SDK for the BoardData V2 REST API
5
5
  License: MIT
6
6
  Classifier: Development Status :: 4 - Beta
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "boarddata"
7
- version = "6.2.2"
7
+ version = "6.4.1"
8
8
  description = "Python SDK for the BoardData V2 REST API"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
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