Skip to content

Commit

Permalink
[LINT-FIX]
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Jan 11, 2025
1 parent dddd6d8 commit 79e3d2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion port_ocean/core/defaults/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,11 @@ async def _initialize_defaults(
logger.warning("No defaults found. Skipping initialization...")
return None

if defaults.port_app_config or integration_config.use_provisioned_defaults:
if (
defaults
and defaults.port_app_config
or integration_config.use_provisioned_defaults
):
await _initialize_required_integration_settings(
port_client, defaults.port_app_config, integration_config
)
Expand Down
2 changes: 1 addition & 1 deletion port_ocean/exceptions/port_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UnsupportedDefaultFileType(BaseOceanException):
class DefaultsProvisionFailed(BaseOceanException):
def __init__(
self,
retries,
retries: int,
):
super().__init__(
f"Failed to retrieve integration config after {retries} attempts"
Expand Down

0 comments on commit 79e3d2a

Please sign in to comment.