This file contains hidden or 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
| import dagster as dg | |
| import datetime as dt | |
| from datetime import datetime | |
| from zoneinfo import ZoneInfo | |
| tz = "America/New_York" | |
| daily_partitions_def = dg.DailyPartitionsDefinition( | |
| start_date=dt.datetime.now(ZoneInfo(tz)) - dt.timedelta(days=1), | |
| end_offset=1, | |
| timezone=tz, |
This file contains hidden or 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
| # Jon Kislin's end to end Linux docker install guide, adapted from: | |
| # https://docs.docker.com/engine/install/ubuntu/ | |
| # https://docs.docker.com/engine/install/linux-postinstall/ | |
| # Uninstall docker on WSL | |
| for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done | |
| # Add Docker's official GPG key: | |
| sudo apt-get update | |
| sudo apt-get install ca-certificates curl |