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.
- {boarddata-6.2.2 → boarddata-6.4.1}/PKG-INFO +1 -1
- {boarddata-6.2.2 → boarddata-6.4.1}/__init__.py +1 -1
- {boarddata-6.2.2 → boarddata-6.4.1}/_assemblies.py +22 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/PKG-INFO +1 -1
- {boarddata-6.2.2 → boarddata-6.4.1}/pyproject.toml +1 -1
- {boarddata-6.2.2 → boarddata-6.4.1}/CLAUDE.md +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/README.md +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_auditors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_base.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_comex.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_companies.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_criteria.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_directors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_documents.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_esg.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_indexes.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_persons.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_sentinel.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/_utilities.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/SOURCES.txt +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/dependency_links.txt +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/requires.txt +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/boarddata.egg-info/top_level.txt +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/cache.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/client.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/errors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/py.typed +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/setup.cfg +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/__init__.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/conftest.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_assemblies.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_auditors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_base.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_build_payload.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_cache.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_comex.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_companies.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_config.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_criteria.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_directors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_documents.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_esg.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_exports.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_indexes.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_persons.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_sentinel.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/tests/test_utilities.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/__init__.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/assemblies.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/auditors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/comex.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/companies.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/core.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/criteria.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/directors.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/documents.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/esg.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/indexes.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/persons.py +0 -0
- {boarddata-6.2.2 → boarddata-6.4.1}/types/sentinel.py +0 -0
|
@@ -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,
|
|
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
|