port-ocean 0.22.11__py3-none-any.whl → 0.22.12__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.

@@ -67,6 +67,7 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
67
67
  )
68
68
 
69
69
  fns = self._collect_resync_functions(resource_config)
70
+ logger.info(f"Found {len(fns)} resync functions for {resource_config.kind}")
70
71
 
71
72
  results, errors = await self._execute_resync_tasks(fns, resource_config)
72
73
 
@@ -96,8 +97,10 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
96
97
  results = []
97
98
  for task in fns:
98
99
  if inspect.isasyncgenfunction(task):
100
+ logger.info(f"Found async generator function for {resource_config.kind} name: {task.__qualname__}")
99
101
  results.append(resync_generator_wrapper(task, resource_config.kind))
100
102
  else:
103
+ logger.info(f"Found sync function for {resource_config.kind} name: {task.__qualname__}")
101
104
  task = typing.cast(Callable[[str], Awaitable[RAW_RESULT]], task)
102
105
  tasks.append(resync_function_wrapper(task, resource_config.kind))
103
106
 
@@ -22,9 +22,9 @@ def resync_error_handling() -> Generator[None, None, None]:
22
22
  try:
23
23
  yield
24
24
  except RawObjectValidationException as error:
25
- raise OceanAbortException(
26
- f"Failed to validate raw data for returned data from resync function, error: {error}"
27
- ) from error
25
+ err_msg = f"Failed to validate raw data for returned data from resync function, error: {error}"
26
+ logger.exception(err_msg)
27
+ raise OceanAbortException(err_msg) from error
28
28
  except StopAsyncIteration:
29
29
  raise
30
30
  except Exception as error:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.22.11
3
+ Version: 0.22.12
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
@@ -113,8 +113,8 @@ port_ocean/core/integrations/mixins/events.py,sha256=2L7P3Jhp8XBqddh2_o9Cn4N261n
113
113
  port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
114
114
  port_ocean/core/integrations/mixins/live_events.py,sha256=8HklZmlyffYY_LeDe8xbt3Tb08rlLkqVhFF-2NQeJP4,4126
115
115
  port_ocean/core/integrations/mixins/sync.py,sha256=Vm_898pLKBwfVewtwouDWsXoxcOLicnAy6pzyqqk6U8,4053
116
- port_ocean/core/integrations/mixins/sync_raw.py,sha256=4ikStO_BurcB5Hy1uYcWMO-exYJbOnu6by9eYmMJbJU,29490
117
- port_ocean/core/integrations/mixins/utils.py,sha256=oN4Okz6xlaefpid1_Pud8HPSw9BwwjRohyNsknq-Myg,2309
116
+ port_ocean/core/integrations/mixins/sync_raw.py,sha256=8RDzVXiN-8yFKycvq5g4S0bkgskMQnQZfdxz2kC1cgk,29796
117
+ port_ocean/core/integrations/mixins/utils.py,sha256=_Pax41H3U75HZRPkrFbcSYdT4NDGb1LtdF_anuIcj1o,2347
118
118
  port_ocean/core/models.py,sha256=YpJ2XOB3Zt9_M-rcMrMjugFNzBDg2hCUKgqvEt7now0,2348
119
119
  port_ocean/core/ocean_types.py,sha256=4VipWFOHEh_d9LmWewQccwx1p2dtrRYW0YURVgNsAjo,1398
120
120
  port_ocean/core/utils/entity_topological_sorter.py,sha256=MDUjM6OuDy4Xj68o-7InNN0w1jqjxeDfeY8U02vySNI,3081
@@ -188,8 +188,8 @@ port_ocean/utils/repeat.py,sha256=U2OeCkHPWXmRTVoPV-VcJRlQhcYqPWI5NfmPlb1JIbc,32
188
188
  port_ocean/utils/signal.py,sha256=mMVq-1Ab5YpNiqN4PkiyTGlV_G0wkUDMMjTZp5z3pb0,1514
189
189
  port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
190
190
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
191
- port_ocean-0.22.11.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
192
- port_ocean-0.22.11.dist-info/METADATA,sha256=Fo942o0gljfDJTPxcKfgK3fpbBVSQluymPor_ztGo2Q,6765
193
- port_ocean-0.22.11.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
194
- port_ocean-0.22.11.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
195
- port_ocean-0.22.11.dist-info/RECORD,,
191
+ port_ocean-0.22.12.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
192
+ port_ocean-0.22.12.dist-info/METADATA,sha256=8OkTPjlMlUdWRx3Pk5cY8_1CkhYEjHhTgzpm1j4GCNw,6765
193
+ port_ocean-0.22.12.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
194
+ port_ocean-0.22.12.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
195
+ port_ocean-0.22.12.dist-info/RECORD,,