-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
807f31d
commit 267c0b1
Showing
13 changed files
with
203 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,19 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
{ | ||
"name": "Python 3", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"name": "dbtlearn", | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/python:1": { | ||
"installTools": true, | ||
"version": "3.11" | ||
} | ||
}, | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [5000], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "bash scripts/setup_codespace_env.sh", | ||
"postAttachCommand": "bash scripts/setup_codespace_env.sh", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"innoverio.vscode-dbt-power-user" | ||
] | ||
}, | ||
"codespaces": { | ||
"openFiles":["profiles.yml"] | ||
} | ||
} | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ venv/ | |
**/__pycache__/ | ||
*.pyc | ||
tmp*/ | ||
|
||
.user.yml | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python Debugger: dagster", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"module": "dagster", | ||
"args": ["dev"], | ||
"cwd": "${workspaceFolder}/dbt_dagster_project_dev", | ||
"env": { | ||
"PYDEVD_DISABLE_FILE_VALIDATION": "1" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"settings": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
unit_tests: | ||
- name: unittest_fullmoon_matcher | ||
description: This test checks if the full moon review matches the full moon review in the source table. | ||
model: mart_fullmoon_reviews | ||
given: | ||
- input: ref('fct_reviews') | ||
rows: | ||
- {review_date: '2025-01-13'} | ||
- {review_date: '2025-01-14'} | ||
- {review_date: '2025-01-15'} | ||
- input: ref('seed_full_moon_dates') | ||
rows: | ||
- {full_moon_date: '2025-01-13'} | ||
expect: | ||
rows: | ||
- {review_date: '2025-01-13', is_full_moon: "not full moon"} | ||
- {review_date: '2025-01-14', is_full_moon: "full moon"} | ||
- {review_date: '2025-01-15', is_full_moon: "not full moon"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
packages: | ||
- package: dbt-labs/dbt_utils | ||
version: 1.1.1 | ||
version: 1.3.0 | ||
- package: calogica/dbt_expectations | ||
version: 0.10.1 | ||
version: 0.10.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dbt-snowflake==1.9.0 | ||
dagster-dbt | ||
dagster-webserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,118 @@ | ||
dbt-snowflake==1.7.1 | ||
dagster-dbt==0.22.0 | ||
dagster-webserver==1.6.0 | ||
agate==1.9.1 | ||
alembic==1.14.0 | ||
annotated-types==0.7.0 | ||
antlr4-python3-runtime==4.13.2 | ||
anyio==4.8.0 | ||
asn1crypto==1.5.1 | ||
attrs==24.3.0 | ||
babel==2.16.0 | ||
backoff==2.2.1 | ||
certifi==2024.12.14 | ||
cffi==1.17.1 | ||
charset-normalizer==3.4.1 | ||
click==8.1.8 | ||
colorama==0.4.6 | ||
coloredlogs==14.0 | ||
croniter==5.0.1 | ||
cryptography==44.0.0 | ||
daff==1.3.46 | ||
dagster==1.9.8 | ||
dagster-dbt==0.25.8 | ||
dagster-graphql==1.9.8 | ||
dagster-pipes==1.9.8 | ||
dagster-webserver==1.9.8 | ||
dbt-adapters==1.13.1 | ||
dbt-common==1.14.0 | ||
dbt-core==1.9.1 | ||
dbt-extractor==0.5.1 | ||
dbt-semantic-interfaces==0.7.4 | ||
dbt-snowflake==1.9.0 | ||
deepdiff==7.0.1 | ||
docstring_parser==0.16 | ||
filelock==3.16.1 | ||
fsspec==2024.12.0 | ||
gql==3.5.0 | ||
graphene==3.4.3 | ||
graphql-core==3.2.5 | ||
graphql-relay==3.2.0 | ||
grpcio==1.69.0 | ||
grpcio-health-checking==1.69.0 | ||
h11==0.14.0 | ||
httptools==0.6.4 | ||
humanfriendly==10.0 | ||
idna==3.10 | ||
importlib-metadata==6.11.0 | ||
isodate==0.6.1 | ||
jaraco.classes==3.4.0 | ||
jaraco.context==6.0.1 | ||
jaraco.functools==4.1.0 | ||
Jinja2==3.1.5 | ||
jsonschema==4.23.0 | ||
jsonschema-specifications==2024.10.1 | ||
keyring==25.6.0 | ||
leather==0.4.0 | ||
Mako==1.3.8 | ||
markdown-it-py==3.0.0 | ||
MarkupSafe==3.0.2 | ||
mashumaro==3.14 | ||
mdurl==0.1.2 | ||
more-itertools==10.5.0 | ||
msgpack==1.1.0 | ||
multidict==6.1.0 | ||
networkx==3.4.2 | ||
ordered-set==4.1.0 | ||
orjson==3.10.14 | ||
packaging==24.2 | ||
parsedatetime==2.6 | ||
pathspec==0.12.1 | ||
platformdirs==4.3.6 | ||
propcache==0.2.1 | ||
protobuf==5.29.3 | ||
pycparser==2.22 | ||
pydantic==2.10.5 | ||
pydantic_core==2.27.2 | ||
Pygments==2.19.1 | ||
PyJWT==2.10.1 | ||
pyOpenSSL==24.3.0 | ||
python-dateutil==2.9.0.post0 | ||
python-dotenv==1.0.1 | ||
python-slugify==8.0.4 | ||
pytimeparse==1.1.8 | ||
pytz==2024.2 | ||
PyYAML==6.0.2 | ||
referencing==0.35.1 | ||
requests==2.32.3 | ||
requests-toolbelt==1.0.0 | ||
rich==13.9.4 | ||
rpds-py==0.22.3 | ||
setuptools==75.8.0 | ||
shellingham==1.5.4 | ||
six==1.17.0 | ||
sniffio==1.3.1 | ||
snowflake-connector-python==3.12.4 | ||
snowplow-tracker==1.0.4 | ||
sortedcontainers==2.4.0 | ||
SQLAlchemy==2.0.37 | ||
sqlglot==26.1.3 | ||
sqlglotrs==0.3.4 | ||
sqlparse==0.5.3 | ||
starlette==0.45.2 | ||
structlog==24.4.0 | ||
tabulate==0.9.0 | ||
text-unidecode==1.3 | ||
tomli==2.2.1 | ||
tomlkit==0.13.2 | ||
toposort==1.10 | ||
tqdm==4.67.1 | ||
typer==0.15.1 | ||
types-requests==2.32.0.20241016 | ||
typing_extensions==4.12.2 | ||
universal_pathlib==0.2.6 | ||
urllib3==2.3.0 | ||
uvicorn==0.34.0 | ||
uvloop==0.21.0 | ||
watchdog==5.0.3 | ||
watchfiles==1.0.4 | ||
websockets==14.1 | ||
yarl==1.18.3 | ||
zipp==3.21.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters