hatchet-sdk 1.20.1__py3-none-any.whl → 1.20.2__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.

Potentially problematic release.


This version of hatchet-sdk might be problematic. Click here for more details.

@@ -405,6 +405,7 @@ class RunsClient(BaseRestClient):
405
405
  worker_id: str | None = None,
406
406
  parent_task_external_id: str | None = None,
407
407
  triggering_event_external_id: str | None = None,
408
+ include_payloads: bool = True,
408
409
  ) -> list[V1TaskSummary]:
409
410
  """
410
411
  List task runs according to a set of filters, paginating through days
@@ -420,6 +421,7 @@ class RunsClient(BaseRestClient):
420
421
  :param worker_id: The worker ID to filter task runs by.
421
422
  :param parent_task_external_id: The parent task external ID to filter task runs by.
422
423
  :param triggering_event_external_id: The event id that triggered the task run.
424
+ :param include_payloads: Whether to include payloads in the response.
423
425
 
424
426
  :return: A list of task runs matching the specified filters.
425
427
  """
@@ -446,6 +448,7 @@ class RunsClient(BaseRestClient):
446
448
  worker_id=worker_id,
447
449
  parent_task_external_id=parent_task_external_id,
448
450
  triggering_event_external_id=triggering_event_external_id,
451
+ include_payloads=include_payloads,
449
452
  )
450
453
  for s, u in date_ranges
451
454
  ]
@@ -475,6 +478,7 @@ class RunsClient(BaseRestClient):
475
478
  worker_id: str | None = None,
476
479
  parent_task_external_id: str | None = None,
477
480
  triggering_event_external_id: str | None = None,
481
+ include_payloads: bool = True,
478
482
  ) -> list[V1TaskSummary]:
479
483
  """
480
484
  List task runs according to a set of filters, paginating through days
@@ -490,6 +494,7 @@ class RunsClient(BaseRestClient):
490
494
  :param worker_id: The worker ID to filter task runs by.
491
495
  :param parent_task_external_id: The parent task external ID to filter task runs by.
492
496
  :param triggering_event_external_id: The event id that triggered the task run.
497
+ :param include_payloads: Whether to include payloads in the response.
493
498
 
494
499
  :return: A list of task runs matching the specified filters.
495
500
  """
@@ -517,6 +522,7 @@ class RunsClient(BaseRestClient):
517
522
  worker_id=worker_id,
518
523
  parent_task_external_id=parent_task_external_id,
519
524
  triggering_event_external_id=triggering_event_external_id,
525
+ include_payloads=include_payloads,
520
526
  )
521
527
  for s, u in date_ranges
522
528
  ]
@@ -550,6 +556,7 @@ class RunsClient(BaseRestClient):
550
556
  worker_id: str | None = None,
551
557
  parent_task_external_id: str | None = None,
552
558
  triggering_event_external_id: str | None = None,
559
+ include_payloads: bool = True,
553
560
  ) -> V1TaskSummaryList:
554
561
  """
555
562
  List task runs according to a set of filters.
@@ -565,6 +572,7 @@ class RunsClient(BaseRestClient):
565
572
  :param worker_id: The worker ID to filter task runs by.
566
573
  :param parent_task_external_id: The parent task external ID to filter task runs by.
567
574
  :param triggering_event_external_id: The event id that triggered the task run.
575
+ :param include_payloads: Whether to include payloads in the response.
568
576
 
569
577
  :return: A list of task runs matching the specified filters.
570
578
  """
@@ -581,6 +589,7 @@ class RunsClient(BaseRestClient):
581
589
  worker_id=worker_id,
582
590
  parent_task_external_id=parent_task_external_id,
583
591
  triggering_event_external_id=triggering_event_external_id,
592
+ include_payloads=include_payloads,
584
593
  )
585
594
 
586
595
  @retry
@@ -597,6 +606,7 @@ class RunsClient(BaseRestClient):
597
606
  worker_id: str | None = None,
598
607
  parent_task_external_id: str | None = None,
599
608
  triggering_event_external_id: str | None = None,
609
+ include_payloads: bool = True,
600
610
  ) -> V1TaskSummaryList:
601
611
  """
602
612
  List task runs according to a set of filters.
@@ -612,6 +622,7 @@ class RunsClient(BaseRestClient):
612
622
  :param worker_id: The worker ID to filter task runs by.
613
623
  :param parent_task_external_id: The parent task external ID to filter task runs by.
614
624
  :param triggering_event_external_id: The event id that triggered the task run.
625
+ :param include_payloads: Whether to include payloads in the response.
615
626
 
616
627
  :return: A list of task runs matching the specified filters.
617
628
  """
@@ -643,6 +654,7 @@ class RunsClient(BaseRestClient):
643
654
  worker_id=worker_id,
644
655
  parent_task_external_id=parent_task_external_id,
645
656
  triggering_event_external_id=triggering_event_external_id,
657
+ include_payloads=include_payloads,
646
658
  )
647
659
 
648
660
  def create(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 1.20.1
3
+ Version: 1.20.2
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Alexander Belanger
@@ -14,10 +14,8 @@ Classifier: Programming Language :: Python :: 3.12
14
14
  Provides-Extra: otel
15
15
  Provides-Extra: v0-sdk
16
16
  Requires-Dist: aiohttp (>=3.10.5,<4.0.0)
17
- Requires-Dist: grpcio (>=1.64.1,!=1.68.*) ; python_version < "3.13"
18
- Requires-Dist: grpcio (>=1.69.0) ; python_version >= "3.13"
19
- Requires-Dist: grpcio-tools (>=1.64.1,!=1.68.*) ; python_version < "3.13"
20
- Requires-Dist: grpcio-tools (>=1.69.0) ; python_version >= "3.13"
17
+ Requires-Dist: grpcio (>=1.76.0,<2.0.0)
18
+ Requires-Dist: grpcio-tools (>=1.76.0,<2.0.0)
21
19
  Requires-Dist: opentelemetry-api (>=1.28.0,<2.0.0) ; extra == "otel"
22
20
  Requires-Dist: opentelemetry-distro (>=0.49b0) ; extra == "otel"
23
21
  Requires-Dist: opentelemetry-exporter-otlp (>=1.28.0,<2.0.0) ; extra == "otel"
@@ -25,7 +23,7 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.28.0,<2.0.0) ; extra
25
23
  Requires-Dist: opentelemetry-instrumentation (>=0.49b0) ; extra == "otel"
26
24
  Requires-Dist: opentelemetry-sdk (>=1.28.0,<2.0.0) ; extra == "otel"
27
25
  Requires-Dist: prometheus-client (>=0.21.1)
28
- Requires-Dist: protobuf (>=5.29.5,<6.0.0)
26
+ Requires-Dist: protobuf (>=6.30.0,<7.0.0)
29
27
  Requires-Dist: pydantic (>=2.6.3,<3.0.0)
30
28
  Requires-Dist: pydantic-settings (>=2.7.1,<3.0.0)
31
29
  Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
@@ -293,7 +293,7 @@ hatchet_sdk/features/filters.py,sha256=n6PPeRiqd5SOFlcx8V2strUaCGma9JPRAOLx44XpC
293
293
  hatchet_sdk/features/logs.py,sha256=H_vQnOqiN5q_wQWVoOGAJp7eOPKFYZsLJ1Hb63LriRA,1190
294
294
  hatchet_sdk/features/metrics.py,sha256=do4kVX6cjDszHocc-IoS8BdT5ChptPc39oElbW6Cd8k,5109
295
295
  hatchet_sdk/features/rate_limits.py,sha256=eh55Z3w75cYUthqTyoWmNxj_6tN3rjebMKm3of-vxv0,2155
296
- hatchet_sdk/features/runs.py,sha256=pR4UqdWR7QyJBqoNzVIi54Kgg3gB98CMYTYoWnApqwA,33157
296
+ hatchet_sdk/features/runs.py,sha256=vmBwWhvsyFEnIN0EmYBa-UoSeJoVFabpqnsuDNmI8fc,33833
297
297
  hatchet_sdk/features/scheduled.py,sha256=t7YA9CoJrzBhH82ChTSFWaTF_dyoC9i1O_wf9ywsphc,8939
298
298
  hatchet_sdk/features/stubs.py,sha256=5NF43cgZKzh7qzYv_lLae4Xkh_zrz2wMj8M_OoTAAF8,2604
299
299
  hatchet_sdk/features/tenant.py,sha256=xkhh5mRKCWbunk_S1iBmGR-DYR-F4mjxk8jLyYUyzNE,886
@@ -328,7 +328,7 @@ hatchet_sdk/worker/runner/runner.py,sha256=B546JN14g7RtRe7qeXs2cSgfosO3bJa8AkZ1a
328
328
  hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=hNELuNHS0HmoMZJ7F7yIjZuahPEx9cOx9JZro618W74,4675
329
329
  hatchet_sdk/worker/worker.py,sha256=BP8A70hQxNvJ8VG8Osb5NTE4mwdcmEkiLwdtwkkNbuE,16868
330
330
  hatchet_sdk/workflow_run.py,sha256=KcylcqRwKADtnzOTjoiVr1vdr7qTZFtDeD5aRS6A4Y8,2823
331
- hatchet_sdk-1.20.1.dist-info/METADATA,sha256=I3GJd209JbpAVeP-0aORP-6eyX8HL2dm9vpjz7WWx-s,3525
332
- hatchet_sdk-1.20.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
333
- hatchet_sdk-1.20.1.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
334
- hatchet_sdk-1.20.1.dist-info/RECORD,,
331
+ hatchet_sdk-1.20.2.dist-info/METADATA,sha256=XmaVFuL278B4_a8Dn2U49u2EU5Jngd7AeSKoRLV-FPk,3343
332
+ hatchet_sdk-1.20.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
333
+ hatchet_sdk-1.20.2.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
334
+ hatchet_sdk-1.20.2.dist-info/RECORD,,