diff --git a/port_ocean/core/integrations/mixins/sync.py b/port_ocean/core/integrations/mixins/sync.py index c77ba23b81..a282fe33fb 100644 --- a/port_ocean/core/integrations/mixins/sync.py +++ b/port_ocean/core/integrations/mixins/sync.py @@ -111,20 +111,20 @@ async def _get_resource_raw_results( logger.info(f"Found {len(tasks)} resync tasks for {resource_config.kind}") results_with_error: list[ - tuple[list[dict[Any, Any]], Exception] + list[dict[Any, Any]] | Exception ] = await asyncio.gather(*tasks, return_exceptions=True) results: list[dict[Any, Any]] = list( chain.from_iterable( [ result - for result, _ in results_with_error + for result in results_with_error if not isinstance(result, Exception) ] ) ) errors = [ - error for _, error in results_with_error if isinstance(error, Exception) + result for result in results_with_error if isinstance(result, Exception) ] logger.info( diff --git a/pyproject.toml b/pyproject.toml index 261b95bc84..9300811017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "port-ocean" -version = "0.1.0.rc2" +version = "0.1.0.rc3" description = "Port Ocean is a CLI tool for managing your Port projects." readme = "README.md" homepage = "https://app.getport.io"