port-ocean 0.29.10__py3-none-any.whl → 0.30.0__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.
@@ -13,7 +13,6 @@ from port_ocean.core.handlers.webhook.processor_manager import (
13
13
  LiveEventsProcessorManager,
14
14
  )
15
15
  from port_ocean.context.ocean import ocean
16
- from port_ocean.core.models import IntegrationFeatureFlag
17
16
  from port_ocean.exceptions.execution_manager import (
18
17
  DuplicateActionExecutorError,
19
18
  PartitionKeyNotFoundError,
@@ -132,13 +131,6 @@ class ExecutionManager:
132
131
  """
133
132
  Start polling and processing action runs for all registered actions.
134
133
  """
135
- flags = await ocean.port_client.get_organization_feature_flags()
136
- if IntegrationFeatureFlag.OCEAN_ACTIONS_PROCESSING_ENABLED not in flags:
137
- logger.warning(
138
- "Actions processing is not allowed for your organization, skipping actions processing"
139
- )
140
- return
141
-
142
134
  if not await ocean.port_client.auth.is_machine_user():
143
135
  logger.warning(
144
136
  "Actions processing is allowed only for machine users, skipping actions processing"
port_ocean/core/models.py CHANGED
@@ -134,7 +134,6 @@ class EntityPortDiff:
134
134
  class IntegrationFeatureFlag(StrEnum):
135
135
  USE_PROVISIONED_DEFAULTS = "USE_PROVISIONED_DEFAULTS"
136
136
  LAKEHOUSE_ELIGIBLE = "LAKEHOUSE_ELIGIBLE"
137
- OCEAN_ACTIONS_PROCESSING_ENABLED = "OCEAN_ACTIONS_PROCESSING_ENABLED"
138
137
 
139
138
 
140
139
  class RunStatus(StrEnum):
@@ -25,7 +25,6 @@ from port_ocean.core.handlers.webhook.processor_manager import (
25
25
  from port_ocean.core.models import (
26
26
  ActionRun,
27
27
  IntegrationActionInvocationPayload,
28
- IntegrationFeatureFlag,
29
28
  RunStatus,
30
29
  )
31
30
  from port_ocean.exceptions.execution_manager import (
@@ -62,9 +61,6 @@ def mock_port_client() -> MagicMock:
62
61
  mock_port_client.get_run_by_external_id = AsyncMock()
63
62
  mock_port_client.patch_run = AsyncMock()
64
63
  mock_port_client.post_run_log = AsyncMock()
65
- mock_port_client.get_organization_feature_flags = AsyncMock(
66
- return_value=[IntegrationFeatureFlag.OCEAN_ACTIONS_PROCESSING_ENABLED]
67
- )
68
64
  mock_port_client.auth = AsyncMock(spec=PortAuthentication)
69
65
  mock_port_client.auth.is_machine_user = AsyncMock(return_value=True)
70
66
  return mock_port_client
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.29.10
3
+ Version: 0.30.0
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
@@ -96,7 +96,7 @@ port_ocean/core/event_listener/webhooks_only.py,sha256=No4nNR7fb4ZtivzCFWzpYq4cg
96
96
  port_ocean/core/handlers/__init__.py,sha256=d7ShmS90gLRzGKJA6oNy2Zs_dF2yjkmYZInRhBnO9Rw,572
97
97
  port_ocean/core/handlers/actions/__init__.py,sha256=GNNfYb7C5cw5wPNVSFSmPENbvMZ1nXGhILWz04oasc4,223
98
98
  port_ocean/core/handlers/actions/abstract_executor.py,sha256=4elvJuImKFO36D6fNJIgMho-bdPow-MBpMXSqtBvu2w,6189
99
- port_ocean/core/handlers/actions/execution_manager.py,sha256=iDHMkBiJFhunnSXEbQDD9tUKnhMpWUQvCs9gljyudP0,19382
99
+ port_ocean/core/handlers/actions/execution_manager.py,sha256=kr2yOnStobCEj5em6eWo6KrAXqLYyinR90zXw5hvwUk,19005
100
100
  port_ocean/core/handlers/base.py,sha256=cTarblazu8yh8xz2FpB-dzDKuXxtoi143XJgPbV_DcM,157
101
101
  port_ocean/core/handlers/entities_state_applier/__init__.py,sha256=kgLZDCeCEzi4r-0nzW9k78haOZNf6PX7mJOUr34A4c8,173
102
102
  port_ocean/core/handlers/entities_state_applier/base.py,sha256=5wHL0icfFAYRPqk8iV_wN49GdJ3aRUtO8tumSxBi4Wo,2268
@@ -131,7 +131,7 @@ port_ocean/core/integrations/mixins/live_events.py,sha256=zM24dhNc7uHx9XYZ6toVhD
131
131
  port_ocean/core/integrations/mixins/sync.py,sha256=Vm_898pLKBwfVewtwouDWsXoxcOLicnAy6pzyqqk6U8,4053
132
132
  port_ocean/core/integrations/mixins/sync_raw.py,sha256=kcL7flnQ25E3KKyo6L3aL9wSzgBtoWYzgQjS4uRbDOs,42612
133
133
  port_ocean/core/integrations/mixins/utils.py,sha256=JegPuIQGBXMnywHBIX30i7gYz0gY7_bW_Jx5LUuQM9c,13718
134
- port_ocean/core/models.py,sha256=sN7viTJbqEEy7j8VEgeffusML31cQWgzI7k8JP64Mbg,3769
134
+ port_ocean/core/models.py,sha256=8ZNEmM3Nq0VSB3fYJVgEdJVjJmaGjMnng-bm-ZBbTNg,3695
135
135
  port_ocean/core/ocean_types.py,sha256=bkLlTd8XfJK6_JDl0eXUHfE_NygqgiInSMwJ4YJH01Q,1399
136
136
  port_ocean/core/utils/entity_topological_sorter.py,sha256=MDUjM6OuDy4Xj68o-7InNN0w1jqjxeDfeY8U02vySNI,3081
137
137
  port_ocean/core/utils/utils.py,sha256=6ySxua6JgVxcjESPL5MScdkpaUj5XR9srorGHHb0B2o,7157
@@ -176,7 +176,7 @@ port_ocean/tests/conftest.py,sha256=JXASSS0IY0nnR6bxBflhzxS25kf4iNaABmThyZ0mZt8,
176
176
  port_ocean/tests/core/conftest.py,sha256=0Oql7R1iTbjPyNdUoO6M21IKknLwnCIgDRz2JQ7nf0w,7748
177
177
  port_ocean/tests/core/defaults/test_common.py,sha256=sR7RqB3ZYV6Xn6NIg-c8k5K6JcGsYZ2SCe_PYX5vLYM,5560
178
178
  port_ocean/tests/core/event_listener/test_kafka.py,sha256=RN_JOCy4aRDUNvyQocO6WFvUMH2XeAZy-PIWHOYnD9M,2888
179
- port_ocean/tests/core/handlers/actions/test_execution_manager.py,sha256=nIS2WwZzxmM3QOr75IfNEfNRhy453eaViLpdbN9wPic,30931
179
+ port_ocean/tests/core/handlers/actions/test_execution_manager.py,sha256=5bOlcQ9qcXF_leoSFtw3FzTa7C1awUPo6TSss5e_76w,30753
180
180
  port_ocean/tests/core/handlers/entities_state_applier/test_applier.py,sha256=7XWgwUB9uVYRov4VbIz1A-7n2YLbHTTYT-4rKJxjB0A,10711
181
181
  port_ocean/tests/core/handlers/entity_processor/test_jq_entity_processor.py,sha256=-kLAOGuoA5yN1TT_T3SIPgGnsOqg1iK0qjVOQ9KiU3c,58498
182
182
  port_ocean/tests/core/handlers/entity_processor/test_jq_input_evaluator.py,sha256=xNlDK8d8YQOplgjZGSBq4rZYZx_atg2R5YyQnH0qfI4,42151
@@ -219,8 +219,8 @@ port_ocean/utils/repeat.py,sha256=U2OeCkHPWXmRTVoPV-VcJRlQhcYqPWI5NfmPlb1JIbc,32
219
219
  port_ocean/utils/signal.py,sha256=J1sI-e_32VHP_VUa5bskLMFoJjJOAk5isrnewKDikUI,2125
220
220
  port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
221
221
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
222
- port_ocean-0.29.10.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
223
- port_ocean-0.29.10.dist-info/METADATA,sha256=q3RixNdpym6FI8_lHpp0GE3DwxsA5y94Uh-cuQkZLBk,7055
224
- port_ocean-0.29.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
225
- port_ocean-0.29.10.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
226
- port_ocean-0.29.10.dist-info/RECORD,,
222
+ port_ocean-0.30.0.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
223
+ port_ocean-0.30.0.dist-info/METADATA,sha256=uglxgjupYpTwJ-w_rUz6Tf17jeaTcdvT4xz1QNCsFpc,7054
224
+ port_ocean-0.30.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
225
+ port_ocean-0.30.0.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
226
+ port_ocean-0.30.0.dist-info/RECORD,,