unique_toolkit 2026.32.0.dev10__py3-none-any.whl → 2026.32.0.dev12__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.
@@ -648,6 +648,33 @@ class AgenticTableService:
648
648
  result.get("message") or "Failed to trigger artifact generation"
649
649
  )
650
650
 
651
+ async def rerun_row(self, row_order: int) -> None:
652
+ """Re-run the agent for a single row (`POST .../row/{rowOrder}/rerun`).
653
+
654
+ The only way to re-answer part of a sheet: ``import_questions_and_sources``
655
+ is delta-based and will not re-answer a row that already exists.
656
+
657
+ Asynchronous, like the whole-sheet run: this triggers it and returns.
658
+ Follow with ``wait_for_run`` to block until the sheet leaves PROCESSING.
659
+
660
+ Args:
661
+ row_order: Row position in the sheet's own numbering, where row 0 is
662
+ the header — so answerable rows start at 1, and row 0 is
663
+ rejected. Same numbering as ``get_cell``.
664
+
665
+ Raises:
666
+ Exception: If the API reports a non-success status, which includes a
667
+ locked or final row and a sheet that is already PROCESSING.
668
+ """
669
+ result = await AgenticTable.rerun_row(
670
+ user_id=self._user_id,
671
+ company_id=self._company_id,
672
+ tableId=self.table_id,
673
+ rowOrder=row_order,
674
+ )
675
+ if not result.get("status"):
676
+ raise Exception(result.get("message") or "Failed to trigger row rerun")
677
+
651
678
  async def list_artifacts(self) -> list[MagicTableArtifact]:
652
679
  """List export artifacts of the sheet (`GET .../artifacts`)."""
653
680
  artifacts = await AgenticTable.list_artifacts(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.32.0.dev10
3
+ Version: 2026.32.0.dev12
4
4
  Summary:
5
5
  Author: Cedric Klinkert, Martin Fadler, Sadique Sheik, Fabian Schläpfer, Pascal Hauri, Ejiroghene Oki-Peter, Rami Azouz, Ricardo Visini, Sanzio Monti
6
6
  Author-email: Cedric Klinkert <cedric.klinkert@unique.ch>, Martin Fadler <martin.fadler@unique.ch>, Sadique Sheik <sadique@unique.ch>, Fabian Schläpfer <fabian@unique.ch>, Pascal Hauri <pascal@unique.ch>, Ejiroghene Oki-Peter <oki-peter.ejiroghene@unique.ai>, Rami Azouz <rami.ext@unique.ch>, Ricardo Visini <ricardo.visini@unique.ch>, Sanzio Monti <sanzio.monti@unique.ai>
@@ -16,7 +16,7 @@ Requires-Dist: sseclient>=0.0.27,<0.0.28
16
16
  Requires-Dist: openai>=1.105.0,<3
17
17
  Requires-Dist: platformdirs>=4.0.0,<5
18
18
  Requires-Dist: pillow>=12.1.1
19
- Requires-Dist: unique-sdk>=2026.32.0.dev11,<2026.32.0rc0
19
+ Requires-Dist: unique-sdk>=2026.32.0.dev14,<2026.32.0rc0
20
20
  Requires-Dist: jambo>=0.1.2,<0.2
21
21
  Requires-Dist: jinja2>=3.1.6,<4
22
22
  Requires-Dist: docxtpl>=0.20.1,<0.21
@@ -238,7 +238,7 @@ unique_toolkit/agentic/tools/utils/source_handling/source_formatting.py,sha256=u
238
238
  unique_toolkit/agentic/tools/utils/source_handling/tests/test_source_formatting.py,sha256=EA8iVvb3L91OFk2XMbGcFuhe2etqm3Sx9QCYDGiOSOM,6995
239
239
  unique_toolkit/agentic_table/__init__.py,sha256=4WenUtjX3IPA88ljNAkfcckVMy9P8jUHR7LnaoLx6ok,2240
240
240
  unique_toolkit/agentic_table/schemas.py,sha256=GobP1gcWSiwX96wTG7c-Su2NoWBy191HWGXY5bB2_qU,14161
241
- unique_toolkit/agentic_table/service.py,sha256=h3KEE1obDPwNBZZjHksSUJRQTkPVGaTkuyoo2wxAxr0,32532
241
+ unique_toolkit/agentic_table/service.py,sha256=cS-tPfePeZpDjvI9hgCIZnA11fxprIfeFNFfZI6VFJo,33722
242
242
  unique_toolkit/agentic_table/synthetic_chat_event.py,sha256=MylvYuhx5CVt2DbPetzV0sR8GlkL218DmNFi7A6RYVs,2373
243
243
  unique_toolkit/app/__init__.py,sha256=qear5ErW3smLDATxtnUsgkX3f177zsn65ixVW8T0JVE,1641
244
244
  unique_toolkit/app/chat_event_filter_options_settings.py,sha256=W0Ydio1UeED5_xqaTzbcGzK2tH4EpA1WHUzdF-iWpqI,364
@@ -419,6 +419,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
419
419
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
420
420
  unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
421
421
  unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
422
- unique_toolkit-2026.32.0.dev10.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
423
- unique_toolkit-2026.32.0.dev10.dist-info/METADATA,sha256=3PMg-OUomGEW7aFaDmHNP36zy3zWBkfzF5y6k9IpyUE,7496
424
- unique_toolkit-2026.32.0.dev10.dist-info/RECORD,,
422
+ unique_toolkit-2026.32.0.dev12.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
423
+ unique_toolkit-2026.32.0.dev12.dist-info/METADATA,sha256=Z0I6qg0yP8_-_yobAt9gAZiDs7aA3rpnkRzjrQsqJFU,7496
424
+ unique_toolkit-2026.32.0.dev12.dist-info/RECORD,,