Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons committed Nov 1, 2021
1 parent e0fb765 commit 6729b2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions metadata-ingestion/src/datahub/cli/cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import requests
import yaml
from pydantic import BaseModel, ValidationError
from requests.sessions import Session

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -181,9 +182,10 @@ def post_delete_endpoint(

return post_delete_endpoint_with_session_and_url(session, url, payload_obj)


def post_delete_endpoint_with_session_and_url(
session,
url,
session: Session,
url: str,
payload_obj: dict,
) -> typing.Tuple[str, int]:
payload = json.dumps(payload_obj)
Expand Down

0 comments on commit 6729b2e

Please sign in to comment.