port-ocean 0.1.4.dev8__py3-none-any.whl → 0.1.4.dev9__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.

@@ -2,6 +2,7 @@ from contextlib import contextmanager
2
2
  from typing import Awaitable, Generator, Callable
3
3
 
4
4
  from loguru import logger
5
+
5
6
  from port_ocean.core.ocean_types import (
6
7
  ASYNC_GENERATOR_RESYNC_TYPE,
7
8
  RAW_RESULT,
@@ -44,7 +45,7 @@ async def resync_generator_wrapper(
44
45
  try:
45
46
  with resync_error_handling():
46
47
  result = await anext(generator)
47
- yield validate_result([result])[0]
48
+ yield validate_result(result)
48
49
  except OceanAbortException as error:
49
50
  errors.append(error)
50
51
  except StopAsyncIteration:
@@ -15,7 +15,7 @@ class EntityDiff(TypedDict):
15
15
 
16
16
  RAW_ITEM = dict[Any, Any]
17
17
  RAW_RESULT = list[RAW_ITEM]
18
- ASYNC_GENERATOR_RESYNC_TYPE = AsyncIterator[RAW_ITEM]
18
+ ASYNC_GENERATOR_RESYNC_TYPE = AsyncIterator[RAW_RESULT]
19
19
  RESYNC_RESULT = list[RAW_ITEM | ASYNC_GENERATOR_RESYNC_TYPE]
20
20
 
21
21
  LISTENER_RESULT = Awaitable[RAW_RESULT] | ASYNC_GENERATOR_RESYNC_TYPE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.1.4.dev8
3
+ Version: 0.1.4.dev9
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
@@ -75,9 +75,9 @@ port_ocean/core/integrations/mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
75
75
  port_ocean/core/integrations/mixins/events.py,sha256=yjh5jmZcGoklqDIV8MBvTCGK1r_b7oc9H7htIvssfGk,698
76
76
  port_ocean/core/integrations/mixins/handler.py,sha256=3chtZ1RCIH2h1V19hd9CteAV8M0wuhTNnta6_Jlviog,2569
77
77
  port_ocean/core/integrations/mixins/sync.py,sha256=DM6bQjLpeOlGRWUYlmvNtl_kl2pyHOdkKjzVzUinhOk,12350
78
- port_ocean/core/integrations/mixins/utils.py,sha256=KC3wEbNmCFRBoM0BdMumOdXp-Fj5rHF39ZPjifD63ao,1747
78
+ port_ocean/core/integrations/mixins/utils.py,sha256=zoXaayu-npBLFDUA2qGUkq4QT8j_CFSPp_MVDhCpKAM,1743
79
79
  port_ocean/core/models.py,sha256=aLo1iCrSLgfwxMBrqMjrrfHWychPr6LwA0OezhbMh1M,642
80
- port_ocean/core/ocean_types.py,sha256=gQANgXkxYXV98M9ukQfv_UCuUFRBrhyYN9I707OLKqM,781
80
+ port_ocean/core/ocean_types.py,sha256=X5r3FCWrGeKCyXPr9NzW-ClGkLn7QliLoB6xzwEa-RQ,783
81
81
  port_ocean/core/utils.py,sha256=B040Wokk28g9tQj_06qk_uvm85RIXc6XGXysZV6gtQw,1957
82
82
  port_ocean/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
83
  port_ocean/exceptions/api.py,sha256=TLmTMqn4uHGaHgZK8PMIJ0TVJlPB4iP7xl9rx7GtCyY,426
@@ -93,8 +93,8 @@ port_ocean/port_defaults.py,sha256=slubEiM4SJKCzD4bHzf8Rwj3RgsHZXZuYZ0ouhcIQOA,7
93
93
  port_ocean/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
94
  port_ocean/run.py,sha256=Bd6c6qYqQZlZqTLyRWRIkf579NQNqrr-o4mVAnBIISA,2834
95
95
  port_ocean/utils.py,sha256=2a30qmGMSPgsTxfpz2RiI3xDsM0-TkaKAbvJBaYqvCc,1007
96
- port_ocean-0.1.4.dev8.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
97
- port_ocean-0.1.4.dev8.dist-info/METADATA,sha256=FAicBll-b1cDodW8tWOMLhlFuumKWCTxDLabqmqki2U,6361
98
- port_ocean-0.1.4.dev8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
99
- port_ocean-0.1.4.dev8.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
100
- port_ocean-0.1.4.dev8.dist-info/RECORD,,
96
+ port_ocean-0.1.4.dev9.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
97
+ port_ocean-0.1.4.dev9.dist-info/METADATA,sha256=TIBYjJxanrpR8729Nah0Pn1hjwF7cowioZtba4N8wic,6361
98
+ port_ocean-0.1.4.dev9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
99
+ port_ocean-0.1.4.dev9.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
100
+ port_ocean-0.1.4.dev9.dist-info/RECORD,,