[bug]import typing.cast for leiden.py (#3493)
### What problem does this PR solve? leiden alg throws exception for lack func cast definition ### Type of change - Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
361cff34fc
commit
bcb6f7168f
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ Reference:
|
|||
|
||||
import logging
|
||||
import html
|
||||
from typing import Any
|
||||
from typing import Any, cast
|
||||
from graspologic.partition import hierarchical_leiden
|
||||
from graspologic.utils import largest_connected_component
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue