Skip to content

Commit

Permalink
add ip debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Oct 19, 2023
1 parent 1901d1f commit e90e2df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/images/horse-variant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
site_name: teamster
theme:
name: material
favicon: images/horse-variant.svg
icon:
logo: material/horse-variant
features:
Expand Down
3 changes: 3 additions & 0 deletions src/teamster/core/datagun/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import re

import pendulum
import requests
from dagster import AssetExecutionContext, AssetKey, asset
from dagster_gcp import BigQueryResource, GCSResource
from google.cloud import bigquery, storage
Expand Down Expand Up @@ -78,6 +79,8 @@ def load_sftp(
file_name,
destination_path,
):
context.log.debug(requests.get(url="https://api.ipify.org").text)

conn = ssh.get_connection()

with conn.open_sftp() as sftp:
Expand Down

0 comments on commit e90e2df

Please sign in to comment.