port-ocean 0.5.7__py3-none-any.whl → 0.5.8__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 port-ocean might be problematic. Click here for more details.

@@ -156,9 +156,9 @@ async def event_context(
156
156
  event_kind=event.event_type,
157
157
  event_id=event.id,
158
158
  event_parent_id=event.parent_id,
159
- event_resource_kind=event.resource_config.kind
160
- if event.resource_config
161
- else None,
159
+ event_resource_kind=(
160
+ event.resource_config.kind if event.resource_config else None
161
+ ),
162
162
  ):
163
163
  logger.info("Event started")
164
164
  try:
@@ -38,7 +38,9 @@ class KafkaEventListenerSettings(EventListenerSettings):
38
38
  """
39
39
 
40
40
  type: Literal["KAFKA"]
41
- brokers: str = "b-1-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-2-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-3-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196"
41
+ brokers: str = (
42
+ "b-1-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-2-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-3-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196"
43
+ )
42
44
  security_protocol: str = "SASL_SSL"
43
45
  authentication_mechanism: str = "SCRAM-SHA-512"
44
46
  kafka_security_enabled: bool = True
@@ -35,6 +35,7 @@ def _stdout_loguru_handler(level: LogLevelType) -> None:
35
35
  diagnose=False, # hide variable values in log backtrace
36
36
  filter=sensitive_log_filter.create_filter(),
37
37
  )
38
+ logger.configure(patcher=exception_deserializer)
38
39
 
39
40
 
40
41
  def _http_loguru_handler(level: LogLevelType) -> None:
@@ -50,6 +51,7 @@ def _http_loguru_handler(level: LogLevelType) -> None:
50
51
  enqueue=True, # process logs in background
51
52
  filter=sensitive_log_filter.create_filter(full_hide=True),
52
53
  )
54
+ logger.configure(patcher=exception_deserializer)
53
55
 
54
56
  queue_listener = QueueListener(queue, HTTPMemoryHandler())
55
57
  queue_listener.start()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.5.7
3
+ Version: 0.5.8
4
4
  Summary: Port Ocean is a CLI tool for managing your Port projects.
5
5
  Home-page: https://app.getport.io
6
6
  Keywords: ocean,port-ocean,port
@@ -53,7 +53,7 @@ port_ocean/config/settings.py,sha256=fjBwVdkydkCAoVDi4FPn-2huLfyVdMHfmWFaFKB5smA
53
53
  port_ocean/consumers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  port_ocean/consumers/kafka_consumer.py,sha256=N8KocjBi9aR0BOPG8hgKovg-ns_ggpEjrSxqSqF_BSo,4710
55
55
  port_ocean/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
- port_ocean/context/event.py,sha256=oMXCG0sx5cR2f1_i3cW8zG4ZUx9y3UbOhO0D2mRlDvI,5267
56
+ port_ocean/context/event.py,sha256=sa-BzqC6Z1kYgRVAZIl29z2bEYu4e_FodxVBgSJOB3g,5275
57
57
  port_ocean/context/ocean.py,sha256=2EreWOj-N2H7QUjEt5wGiv5KHP4pTZc70tn_wHcpF4w,4657
58
58
  port_ocean/context/resource.py,sha256=yDj63URzQelj8zJPh4BAzTtPhpKr9Gw9DRn7I_0mJ1s,1692
59
59
  port_ocean/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -65,7 +65,7 @@ port_ocean/core/event_listener/__init__.py,sha256=mzJ33wRq0kh60fpVdOHVmvMTUQIvz3
65
65
  port_ocean/core/event_listener/base.py,sha256=ntd41fGg_8X58hgnOrZaUVhDM1XbJSk5shf_MW3eAMQ,1327
66
66
  port_ocean/core/event_listener/factory.py,sha256=AYYfSHPAF7P5H-uQECXT0JVJjKDHrYkWJJBSL4mGkg8,3697
67
67
  port_ocean/core/event_listener/http.py,sha256=UjONC_OODHjpGjvsBPAvO6zGzosdmv5Hx96B4WFqpXs,2577
68
- port_ocean/core/event_listener/kafka.py,sha256=h8hNO1OdpA5G9XGrNjG74RYrnzIxeDmUscWYQXNuIqw,6859
68
+ port_ocean/core/event_listener/kafka.py,sha256=0U_TwmlmtS8N2lprkCmnyOmdqOAvghWxHhSfyu46kEs,6875
69
69
  port_ocean/core/event_listener/once.py,sha256=KdvUqjIcyp8XqhY1GfR_KYJfParFIRrjCtcMf3JMegk,2150
70
70
  port_ocean/core/event_listener/polling.py,sha256=GFb89aqC2PrqDkah6gdxjsX1s4q3B87w0dVlZlUbScU,3485
71
71
  port_ocean/core/handlers/__init__.py,sha256=R2HIRD8JTzupY4mXuXveMBQbuiPiiB3Oivmpc5C2jjI,610
@@ -108,7 +108,7 @@ port_ocean/helpers/async_client.py,sha256=SRlP6o7_FCSY3UHnRlZdezppePVxxOzZ0z861v
108
108
  port_ocean/helpers/retry.py,sha256=qZAiNCdhZ9pg55Ol70uJef2PAxHBriBCBg4kbT4naqo,13155
109
109
  port_ocean/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
110
  port_ocean/log/handlers.py,sha256=k9G_Mb4ga2-Jke9irpdlYqj6EYiwv0gEsh4TgyqqOmI,2853
111
- port_ocean/log/logger_setup.py,sha256=t4VZOyRExFNatg2YOEZ1hA8qFfb27CHW5NrZfeDgAio,2069
111
+ port_ocean/log/logger_setup.py,sha256=NGU9EdRTPLloiHdgSw0JYaYGr9mx1hYJUEPFHP6BA14,2175
112
112
  port_ocean/log/sensetive.py,sha256=4aD7tdOwoDGi69ah1E4qLnpjE7G6r_UxJ1MwxYit02g,2335
113
113
  port_ocean/middlewares.py,sha256=6GrhldYAazxSwK2TbS-J28XdZ-9wO3PgCcyIMhnnJvI,2480
114
114
  port_ocean/ocean.py,sha256=6MAg7qEVRqpMrKaFiuOKFYc4IEGnSQQJQSigk5Mge8w,4072
@@ -122,8 +122,8 @@ port_ocean/utils/misc.py,sha256=2XmO8W0SgPjV0rd9HZvrHhoMlHprIwmMFsINxlAmgyw,1723
122
122
  port_ocean/utils/repeat.py,sha256=0EFWM9d8lLXAhZmAyczY20LAnijw6UbIECf5lpGbOas,3231
123
123
  port_ocean/utils/signal.py,sha256=Fab0049Cjs69TPTQgvEvilaVZKACQr6tGkRdySjNCi8,1515
124
124
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
125
- port_ocean-0.5.7.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
126
- port_ocean-0.5.7.dist-info/METADATA,sha256=rsoY88yea-y1ZcgFKGtIglzy5UgJUOYNPwaSq-M5ZSQ,6515
127
- port_ocean-0.5.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
- port_ocean-0.5.7.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
129
- port_ocean-0.5.7.dist-info/RECORD,,
125
+ port_ocean-0.5.8.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
126
+ port_ocean-0.5.8.dist-info/METADATA,sha256=6ZVNmc5UXUehgwEuIpXdoGy_i7fpJnUgV3xRuwjmeXI,6515
127
+ port_ocean-0.5.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
+ port_ocean-0.5.8.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
129
+ port_ocean-0.5.8.dist-info/RECORD,,