mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 04:36:01 +08:00
[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
@ -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…
x
Reference in New Issue
Block a user