Skip to content

Commit

Permalink
debug ip log
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Oct 19, 2023
1 parent 4bbf4a4 commit 1901d1f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 2 deletions.
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"recommendations": [
"github.codespaces",
"eamodio.gitlens",
"ms-python.vscode-pylance",
"ms-python.python",
"trunk.io",
Expand Down
File renamed without changes.
24 changes: 24 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Getting Started

## Collaboration

- Asana
- 1Password
- GitHub

## Analytics Engineering

- dbt
- BigQuery
- Tableau

## Data Engineering

- Dagster
- Airbyte
- Fivetran
- VS Code

## Helpful Tools

- [RegExr](https://regexr.com/)
12 changes: 11 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# https://www.mkdocs.org/user-guide/configuration/
# https://squidfunk.github.io/mkdocs-material/setup/

site_name: teamster
theme:
name: material
icon:
logo: material/donkey
logo: material/horse-variant
features:
- navigation.instant
- navigation.tabs

nav:
- Home: README.md
- Getting Started:
- Installation: getting-started.md
- Contributing: contributing/CONTRIBUTING.md

markdown_extensions:
- attr_list
Expand Down
3 changes: 3 additions & 0 deletions src/teamster/core/sftp/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import zipfile
from stat import S_ISDIR, S_ISREG

import requests
from dagster import (
AssetExecutionContext,
DagsterInvariantViolationError,
Expand Down Expand Up @@ -102,6 +103,8 @@ def build_sftp_asset(
auto_materialize_policy=auto_materialize_policy,
)
def _asset(context: AssetExecutionContext):
context.log.debug(requests.get(url="https://api.ipify.org").text)

ssh: SSHConfigurableResource = getattr(context.resources, ssh_resource_key)

# find matching file for partition
Expand Down

0 comments on commit 1901d1f

Please sign in to comment.