deltafi 2.10.2__py3-none-any.whl → 2.11.0__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 deltafi might be problematic. Click here for more details.

deltafi/input.py CHANGED
@@ -19,6 +19,7 @@
19
19
  from deltafi.domain import *
20
20
  from deltafi.exception import MissingMetadataException, ExpectedContentException
21
21
 
22
+
22
23
  class EgressInput(NamedTuple):
23
24
  content: Content
24
25
  metadata: dict
@@ -36,6 +37,9 @@ class TransformInput(NamedTuple):
36
37
  raise ExpectedContentException(index, len(self.content))
37
38
  return self.content[index]
38
39
 
40
+ def content_named(self, name: str) -> Content:
41
+ return next((c for c in self.content if c.name == name), None)
42
+
39
43
  def first_content(self):
40
44
  return self.content_at(0)
41
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: deltafi
3
- Version: 2.10.2
3
+ Version: 2.11.0
4
4
  Summary: SDK for DeltaFi plugins and actions
5
5
  License: Apache License, Version 2.0
6
6
  Keywords: deltafi
@@ -22,11 +22,11 @@ Classifier: Topic :: Software Development
22
22
  Requires-Dist: PyYAML (==6.0.2)
23
23
  Requires-Dist: deepdiff (==6.7.1)
24
24
  Requires-Dist: json-logging (==1.3.0)
25
- Requires-Dist: minio (==7.2.10)
26
- Requires-Dist: pydantic (==2.9.2)
27
- Requires-Dist: redis (==5.2.0)
25
+ Requires-Dist: minio (==7.2.15)
26
+ Requires-Dist: pydantic (==2.10.6)
27
+ Requires-Dist: redis (==5.2.1)
28
28
  Requires-Dist: requests (==2.32.3)
29
- Requires-Dist: urllib3 (==2.2.3)
29
+ Requires-Dist: urllib3 (==2.3.0)
30
30
  Project-URL: Bug Reports, https://chat.deltafi.org/deltafi/channels/bug-reports
31
31
  Project-URL: Documentation, https://docs.deltafi.org/#/
32
32
  Project-URL: Source Code, https://gitlab.com/deltafi/deltafi
@@ -5,7 +5,7 @@ deltafi/actiontype.py,sha256=2FnTbryP2zVlJfghrh9IqhIHWarPfSKSKt2UxoIrGLU,913
5
5
  deltafi/domain.py,sha256=4tj5DFw6nsSZo9KG5LmUb3-IETRzth_wOt38VVT74HE,13720
6
6
  deltafi/exception.py,sha256=t-Qr3PBp5vdvUeABMFg2iLl6x6Uy3PJl5uxENsnY4kM,943
7
7
  deltafi/genericmodel.py,sha256=0qgii2o-fzHS6lM1C5X7_WTTSYsiZAM0i7RTfw0nw4U,1152
8
- deltafi/input.py,sha256=_9Np2g7OzcAggaQnGw7DDWleGAoqud52z60YSqPNriM,1656
8
+ deltafi/input.py,sha256=CZ02GsObhu6CpdBKzNE5TJ_PSihQF3cr4XKPqouqRUU,1780
9
9
  deltafi/logger.py,sha256=Lms9wmjyZWe9-SCKj4raNmGC9Cyn3BrfiniPXeM9VDY,2140
10
10
  deltafi/metric.py,sha256=5Q40bLpNXk8mwu1wnN5L8GX22-iZxYEFBGt3zSNmYxI,972
11
11
  deltafi/plugin.py,sha256=w8nklsfTjVbkACZ_NwaGvWEAPQpcxoK3e6Gav4e9cKk,19500
@@ -19,6 +19,6 @@ deltafi/test_kit/egress.py,sha256=MXEsYsgiG1G-1zCuwV23RCn7w5bPObP1J0_7nVN03MU,18
19
19
  deltafi/test_kit/framework.py,sha256=pU8tLsMNWUhVtIhLusbQL3uPT4y8xsKWdzzXuxmxRrU,15432
20
20
  deltafi/test_kit/timed_ingress.py,sha256=ogk6AzbPZInLOPMYy3MhjEXpITPn9-Ha6YSILGBdpro,4177
21
21
  deltafi/test_kit/transform.py,sha256=7KOsNY9OSDiyTFXIx0knZeweXIA421vHS6PAxQAcOc0,4122
22
- deltafi-2.10.2.dist-info/METADATA,sha256=j7pSnyMAzq2OziCudhTINcNoxwJ717KZaZT6MmcDuMs,1518
23
- deltafi-2.10.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
- deltafi-2.10.2.dist-info/RECORD,,
22
+ deltafi-2.11.0.dist-info/METADATA,sha256=Rc1MbDs2Vs_bba0AzjKh98vV6IaBrjWqqXqLF0RHeS8,1519
23
+ deltafi-2.11.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
+ deltafi-2.11.0.dist-info/RECORD,,