Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ defaults:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2

Expand All @@ -26,6 +31,8 @@ jobs:
with:
environment-file: ci/environment.yml
environment-name: dask-match
extra-specs: |
python=${{ matrix.python-version }}

- name: Install Dask-Match
run: python -m pip install -e . --no-deps
Expand Down
2 changes: 2 additions & 0 deletions dask_expr/collection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import functools

import numpy as np
Expand Down
4 changes: 3 additions & 1 deletion dask_expr/expr.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import functools
import numbers
import operator
Expand Down Expand Up @@ -415,7 +417,7 @@ def __dask_graph__(self):
def __dask_keys__(self):
return [(self._name, i) for i in range(self.npartitions)]

def substitute(self, substitutions: dict) -> "Expr":
def substitute(self, substitutions: dict) -> Expr:
"""Substitute specific `Expr` instances within `self`

Parameters
Expand Down