Skip to content

Commit b4a9f07

Browse files
committed
[BUG] Small fix
1 parent 95e0b89 commit b4a9f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gempy_engine/core/data/raw_arrays_solution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import enum
22
from dataclasses import dataclass, field
3-
from typing import Optional
3+
from typing import Optional, Union
44

55
import numpy as np
66

@@ -62,7 +62,7 @@ class BlockSolutionType(enum.Enum):
6262
# ? TODO: This could be just the init
6363
@classmethod
6464
def from_gempy_engine_solutions(cls, octrees_output: list[OctreeLevel], meshes: list[DualContouringMesh],
65-
block_solution_type: BlockSolutionType) -> "RawArraysSolution" | None:
65+
block_solution_type: BlockSolutionType) -> Union["RawArraysSolution", None]:
6666
raw_arrays_solution = cls()
6767

6868
first_level_octree: OctreeLevel = octrees_output[0]

0 commit comments

Comments
 (0)