port-ocean 0.28.0__py3-none-any.whl → 0.28.1__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.
@@ -455,16 +455,16 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
455
455
  ],
456
456
  value=number_of_transformed_entities,
457
457
  )
458
-
459
- ocean.metrics.inc_metric(
460
- name=MetricType.OBJECT_COUNT_NAME,
461
- labels=[
462
- ocean.metrics.current_resource_kind(),
463
- MetricPhase.TRANSFORM,
464
- MetricPhase.TransformResult.FILTERED_OUT,
465
- ],
466
- value=number_of_raw_results - number_of_transformed_entities,
467
- )
458
+ if number_of_raw_results > number_of_transformed_entities :
459
+ ocean.metrics.inc_metric(
460
+ name=MetricType.OBJECT_COUNT_NAME,
461
+ labels=[
462
+ ocean.metrics.current_resource_kind(),
463
+ MetricPhase.TRANSFORM,
464
+ MetricPhase.TransformResult.FILTERED_OUT,
465
+ ],
466
+ value=number_of_raw_results - number_of_transformed_entities,
467
+ )
468
468
 
469
469
  return passed_entities, errors
470
470
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.28.0
3
+ Version: 0.28.1
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
@@ -123,7 +123,7 @@ port_ocean/core/integrations/mixins/events.py,sha256=2L7P3Jhp8XBqddh2_o9Cn4N261n
123
123
  port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
124
124
  port_ocean/core/integrations/mixins/live_events.py,sha256=zM24dhNc7uHx9XYZ6toVhDADPA90EnpOmZxgDegFZbA,4196
125
125
  port_ocean/core/integrations/mixins/sync.py,sha256=Vm_898pLKBwfVewtwouDWsXoxcOLicnAy6pzyqqk6U8,4053
126
- port_ocean/core/integrations/mixins/sync_raw.py,sha256=50tklPFBYvVoucIcCx1yYU-gwzliXCOX7kJP6_dgsNI,40631
126
+ port_ocean/core/integrations/mixins/sync_raw.py,sha256=EJLF0vMFVkQi4zJPQAFtg-VkQJsOGbya3yhEfWu2L1c,40734
127
127
  port_ocean/core/integrations/mixins/utils.py,sha256=ytnFX7Lyv6N3CgBnOXxYaI1cRDq5Z4NDrVFiwE6bn-M,5250
128
128
  port_ocean/core/models.py,sha256=DNbKpStMINI2lIekKprTqBevqkw_wFuFayN19w1aDfQ,2893
129
129
  port_ocean/core/ocean_types.py,sha256=bkLlTd8XfJK6_JDl0eXUHfE_NygqgiInSMwJ4YJH01Q,1399
@@ -208,8 +208,8 @@ port_ocean/utils/repeat.py,sha256=U2OeCkHPWXmRTVoPV-VcJRlQhcYqPWI5NfmPlb1JIbc,32
208
208
  port_ocean/utils/signal.py,sha256=mMVq-1Ab5YpNiqN4PkiyTGlV_G0wkUDMMjTZp5z3pb0,1514
209
209
  port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
210
210
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
211
- port_ocean-0.28.0.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
212
- port_ocean-0.28.0.dist-info/METADATA,sha256=uN_b7aeBqjyt-s49n-_xgjLjFsCAzgBgf0VJACg_qHA,7015
213
- port_ocean-0.28.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
214
- port_ocean-0.28.0.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
215
- port_ocean-0.28.0.dist-info/RECORD,,
211
+ port_ocean-0.28.1.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
212
+ port_ocean-0.28.1.dist-info/METADATA,sha256=PSPEzll-3f7zXAELk1jUxqAlzwsxtxLksle9ITyREwg,7015
213
+ port_ocean-0.28.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
214
+ port_ocean-0.28.1.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
215
+ port_ocean-0.28.1.dist-info/RECORD,,