port-ocean 0.12.2.dev8__py3-none-any.whl → 0.12.2.dev10__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.
- port_ocean/core/integrations/mixins/sync_raw.py +13 -12
- {port_ocean-0.12.2.dev8.dist-info → port_ocean-0.12.2.dev10.dist-info}/METADATA +1 -1
- {port_ocean-0.12.2.dev8.dist-info → port_ocean-0.12.2.dev10.dist-info}/RECORD +6 -6
- {port_ocean-0.12.2.dev8.dist-info → port_ocean-0.12.2.dev10.dist-info}/LICENSE.md +0 -0
- {port_ocean-0.12.2.dev8.dist-info → port_ocean-0.12.2.dev10.dist-info}/WHEEL +0 -0
- {port_ocean-0.12.2.dev8.dist-info → port_ocean-0.12.2.dev10.dist-info}/entry_points.txt +0 -0
|
@@ -139,11 +139,11 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
|
|
|
139
139
|
objects_diff = await self._calculate_raw(
|
|
140
140
|
[(resource, results)], parse_all, send_raw_data_examples_amount
|
|
141
141
|
)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
modified_objects = await self.entities_state_applier.upsert(
|
|
143
|
+
objects_diff[0].entity_selector_diff.passed, user_agent_type
|
|
144
|
+
)
|
|
145
145
|
return CalculationResult(
|
|
146
|
-
objects_diff[0].entity_selector_diff._replace(passed=
|
|
146
|
+
objects_diff[0].entity_selector_diff._replace(passed=modified_objects),
|
|
147
147
|
errors=objects_diff[0].errors,
|
|
148
148
|
)
|
|
149
149
|
|
|
@@ -172,6 +172,7 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
|
|
|
172
172
|
self, resource_config: ResourceConfig, user_agent_type: UserAgentType
|
|
173
173
|
) -> tuple[list[Entity], list[Exception]]:
|
|
174
174
|
results, errors = await self._get_resource_raw_results(resource_config)
|
|
175
|
+
passed_entities = []
|
|
175
176
|
async_generators: list[ASYNC_GENERATOR_RESYNC_TYPE] = []
|
|
176
177
|
raw_results: RAW_RESULT = []
|
|
177
178
|
for result in results:
|
|
@@ -200,14 +201,14 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
|
|
|
200
201
|
0, send_raw_data_examples_amount - len(passed_entities)
|
|
201
202
|
)
|
|
202
203
|
|
|
203
|
-
entities, register_errors = await self._register_resource_raw(
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
)
|
|
209
|
-
errors.extend(register_errors)
|
|
210
|
-
passed_entities.extend(entities.passed)
|
|
204
|
+
# entities, register_errors = await self._register_resource_raw(
|
|
205
|
+
# resource_config,
|
|
206
|
+
# items,
|
|
207
|
+
# user_agent_type,
|
|
208
|
+
# send_raw_data_examples_amount=send_raw_data_examples_amount,
|
|
209
|
+
# )
|
|
210
|
+
# errors.extend(register_errors)
|
|
211
|
+
# passed_entities.extend(entities.passed)
|
|
211
212
|
except* OceanAbortException as error:
|
|
212
213
|
errors.append(error)
|
|
213
214
|
|
|
@@ -94,7 +94,7 @@ port_ocean/core/integrations/mixins/__init__.py,sha256=FA1FEKMM6P-L2_m7Q4L20mFa4
|
|
|
94
94
|
port_ocean/core/integrations/mixins/events.py,sha256=Ddfx2L4FpghV38waF8OfVeOV0bHBxNIgjU-q5ffillI,2341
|
|
95
95
|
port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
|
|
96
96
|
port_ocean/core/integrations/mixins/sync.py,sha256=B9fEs8faaYLLikH9GBjE_E61vo0bQDjIGQsQ1SRXOlA,3931
|
|
97
|
-
port_ocean/core/integrations/mixins/sync_raw.py,sha256=
|
|
97
|
+
port_ocean/core/integrations/mixins/sync_raw.py,sha256=tZFWCPthhSaQ1x2TsBDnSN_G_WgzYVX0xE6kBvDCtHc,19000
|
|
98
98
|
port_ocean/core/integrations/mixins/utils.py,sha256=7y1rGETZIjOQadyIjFJXIHKkQFKx_SwiP-TrAIsyyLY,2303
|
|
99
99
|
port_ocean/core/models.py,sha256=dJ2_olTdbjUpObQJNmg7e7EENU_zZiX6XOaknNp54B0,1342
|
|
100
100
|
port_ocean/core/ocean_types.py,sha256=3_d8-n626f1kWLQ_Jxw194LEyrOVupz05qs_Y1pvB-A,990
|
|
@@ -140,8 +140,8 @@ port_ocean/utils/repeat.py,sha256=0EFWM9d8lLXAhZmAyczY20LAnijw6UbIECf5lpGbOas,32
|
|
|
140
140
|
port_ocean/utils/signal.py,sha256=K-6kKFQTltcmKDhtyZAcn0IMa3sUpOHGOAUdWKgx0_E,1369
|
|
141
141
|
port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
|
|
142
142
|
port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
|
|
143
|
-
port_ocean-0.12.2.
|
|
144
|
-
port_ocean-0.12.2.
|
|
145
|
-
port_ocean-0.12.2.
|
|
146
|
-
port_ocean-0.12.2.
|
|
147
|
-
port_ocean-0.12.2.
|
|
143
|
+
port_ocean-0.12.2.dev10.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
144
|
+
port_ocean-0.12.2.dev10.dist-info/METADATA,sha256=vu6FGJXNIMpMvRjD8k9BqXX86Zegx7_EQeqKphg22F0,6620
|
|
145
|
+
port_ocean-0.12.2.dev10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
146
|
+
port_ocean-0.12.2.dev10.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
|
|
147
|
+
port_ocean-0.12.2.dev10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|