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

@@ -418,6 +418,7 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
418
418
  )
419
419
  logger.info(f"Resync will use the following mappings: {app_config.dict()}")
420
420
  try:
421
+ did_fetched_current_state = True
421
422
  entities_at_port = await ocean.port_client.search_entities(
422
423
  user_agent_type
423
424
  )
@@ -429,7 +430,7 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
429
430
  f"Response status code: {e.response.status_code if isinstance(e, httpx.HTTPStatusError) else None}\n"
430
431
  f"Response content: {e.response.text if isinstance(e, httpx.HTTPStatusError) else None}\n"
431
432
  )
432
- entities_at_port = []
433
+ did_fetched_current_state = False
433
434
 
434
435
  creation_results: list[tuple[list[Entity], list[Exception]]] = []
435
436
 
@@ -448,7 +449,7 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
448
449
  except asyncio.CancelledError as e:
449
450
  logger.warning("Resync aborted successfully")
450
451
  else:
451
- if not entities_at_port:
452
+ if not did_fetched_current_state:
452
453
  logger.warning(
453
454
  "Due to an error before the resync, the previous state of entities at Port is unknown."
454
455
  " Skipping delete phase due to unknown initial state."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.9.10
3
+ Version: 0.9.11
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
@@ -88,7 +88,7 @@ port_ocean/core/integrations/mixins/__init__.py,sha256=FA1FEKMM6P-L2_m7Q4L20mFa4
88
88
  port_ocean/core/integrations/mixins/events.py,sha256=Ddfx2L4FpghV38waF8OfVeOV0bHBxNIgjU-q5ffillI,2341
89
89
  port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
90
90
  port_ocean/core/integrations/mixins/sync.py,sha256=TKqRytxXONVhuCo3CB3rDvWNbITnZz33TYTDs3SWWVk,3880
91
- port_ocean/core/integrations/mixins/sync_raw.py,sha256=-51SLY9jlNOBYQP1FWnKheJb3xkKQny9mP0Op_g04Dg,18158
91
+ port_ocean/core/integrations/mixins/sync_raw.py,sha256=A5ZDy9oopPL8mqRQrjJ7CILmWVuRTHG5FFUmh5RWU3g,18228
92
92
  port_ocean/core/integrations/mixins/utils.py,sha256=7y1rGETZIjOQadyIjFJXIHKkQFKx_SwiP-TrAIsyyLY,2303
93
93
  port_ocean/core/models.py,sha256=4bDvMeydlSpG0YSXjE1Bo2AcZC0aQ2zqFhpsOvZat_A,1190
94
94
  port_ocean/core/ocean_types.py,sha256=3_d8-n626f1kWLQ_Jxw194LEyrOVupz05qs_Y1pvB-A,990
@@ -122,8 +122,8 @@ port_ocean/utils/queue_utils.py,sha256=KWWl8YVnG-glcfIHhM6nefY-2sou_C6DVP1VynQwz
122
122
  port_ocean/utils/repeat.py,sha256=0EFWM9d8lLXAhZmAyczY20LAnijw6UbIECf5lpGbOas,3231
123
123
  port_ocean/utils/signal.py,sha256=K-6kKFQTltcmKDhtyZAcn0IMa3sUpOHGOAUdWKgx0_E,1369
124
124
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
125
- port_ocean-0.9.10.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
126
- port_ocean-0.9.10.dist-info/METADATA,sha256=dJEiCZBIoy0PErAsLASdKqs8VN-BHcU0qoPUmOLm3zc,6616
127
- port_ocean-0.9.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
- port_ocean-0.9.10.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
129
- port_ocean-0.9.10.dist-info/RECORD,,
125
+ port_ocean-0.9.11.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
126
+ port_ocean-0.9.11.dist-info/METADATA,sha256=hqUj_U-V_pIzxXGHIzcMV1lwZ7cb6rODN-po4RpQoVw,6616
127
+ port_ocean-0.9.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
+ port_ocean-0.9.11.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
129
+ port_ocean-0.9.11.dist-info/RECORD,,