core: cleanup/sort imports according to ruff check --select I
This commit is contained in:
parent
7023088d13
commit
7bfce72b7c
45 changed files with 235 additions and 170 deletions
|
@ -10,10 +10,9 @@ how many cores we want to dedicate to the DAL.
|
|||
Enabled by the env variable, specifying how many cores to dedicate
|
||||
e.g. "HPI_CPU_POOL=4 hpi query ..."
|
||||
"""
|
||||
from concurrent.futures import ProcessPoolExecutor
|
||||
import os
|
||||
from typing import cast, Optional
|
||||
|
||||
from concurrent.futures import ProcessPoolExecutor
|
||||
from typing import Optional, cast
|
||||
|
||||
_NOT_SET = cast(ProcessPoolExecutor, object())
|
||||
_INSTANCE: Optional[ProcessPoolExecutor] = _NOT_SET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue