Skip to content

Commit

Permalink
style: remove superfluous assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Nov 26, 2024
1 parent 0365242 commit e2f6c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlt/sources/rest_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def _validate_config(config: RESTAPIConfig) -> None:
if client_config:
auth = client_config.get("auth")
if auth:
auth = _mask_secrets(auth)
_mask_secrets(auth)
resources = c.get("resources", [])
for resource in resources:
if isinstance(resource, (str, DltResource)):
Expand All @@ -418,7 +418,7 @@ def _validate_config(config: RESTAPIConfig) -> None:
if not isinstance(endpoint, str):
auth = endpoint.get("auth")
if auth:
auth = _mask_secrets(auth)
_mask_secrets(auth)

validate_dict(RESTAPIConfig, c, path=".")

Expand Down

0 comments on commit e2f6c8c

Please sign in to comment.