Skip to content

Commit

Permalink
add uv run to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Dec 4, 2024
1 parent 336035a commit 330cb98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ build:
docker compose build transformer

extract:
docker compose run extractors python main.py configs/eth_mainnet.yaml
docker compose run extractors python main.py configs/base_mainnet.yaml
docker compose run extractors python main.py configs/base_sepolia.yaml
docker compose run extractors python main.py configs/arbitrum_mainnet.yaml
docker compose run extractors python main.py configs/arbitrum_sepolia.yaml
docker compose run extractors uv run python main.py configs/eth_mainnet.yaml
docker compose run extractors uv run python main.py configs/base_mainnet.yaml
docker compose run extractors uv run python main.py configs/base_sepolia.yaml
docker compose run extractors uv run python main.py configs/arbitrum_mainnet.yaml
docker compose run extractors uv run python main.py configs/arbitrum_sepolia.yaml

index:
docker compose run indexer --network_name base_mainnet --protocol_name synthetix
Expand Down
2 changes: 1 addition & 1 deletion scheduler/dags/v3_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_docker_operator(
):
return DockerOperator(
task_id=task_id,
command=f"python main.py {config_file}" if command is None else command,
command=f"uv run python main.py {config_file}" if command is None else command,
image=image,
api_version="auto",
auto_remove=True,
Expand Down

0 comments on commit 330cb98

Please sign in to comment.