Skip to content

Commit

Permalink
Fix undefined type
Browse files Browse the repository at this point in the history
fix(leiden): fix undefined type

Import 'Union' from 'typing' to fix error when defining 'random_state' (line 17)
  • Loading branch information
jpintar authored Dec 3, 2023
1 parent 3711399 commit 8945c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rapids_singlecell/tools/_clustering.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional, Sequence, Tuple
from typing import Optional, Sequence, Tuple, Union

import cudf
import numpy as np
Expand Down

0 comments on commit 8945c92

Please sign in to comment.