Sfoglia il codice sorgente

[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)
tags/v0.14.0
roc king 11 mesi fa
parent
commit
bcb6f7168f
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      graphrag/leiden.py

+ 1
- 1
graphrag/leiden.py Vedi File

@@ -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…
Annulla
Salva