Skip to content

Commit

Permalink
Merge pull request #32 from Eventual-Inc/submit
Browse files Browse the repository at this point in the history
feat: Add submit command
  • Loading branch information
raunakab authored Jan 15, 2025
2 parents 1a6fb45 + b6119fb commit f1c4978
Show file tree
Hide file tree
Showing 6 changed files with 287 additions and 100 deletions.
6 changes: 0 additions & 6 deletions examples/aws.toml

This file was deleted.

1 change: 0 additions & 1 deletion examples/main.py

This file was deleted.

6 changes: 6 additions & 0 deletions examples/mean.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import daft

daft.context.set_runner_ray()

df = daft.from_pydict({ "nums": [1,2,3] })
df.agg(daft.col("nums").mean()).show()
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ requires-python = ">=3.9"
dynamic = ["version"]

[build-system]
requires = ["maturin"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
bindings = "bin"

[tool.pyright]
# typeCheckingMode = "off"
venv = ".venv"
venvPath = "."

[[tool.pyright.executionEnvironments]]
root = "examples"
Loading

0 comments on commit f1c4978

Please sign in to comment.