core.pandas: add check for 'error' column + add empty one by default
This commit is contained in:
parent
3a1e21635a
commit
df9a7f7390
7 changed files with 82 additions and 30 deletions
|
@ -47,3 +47,16 @@ def _get_dal(cfg, module_name: str):
|
|||
from importlib import import_module
|
||||
return import_module(f'my.config.repos.{module_name}.dal')
|
||||
|
||||
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info[:2] >= (3, 8):
|
||||
from typing import Literal
|
||||
else:
|
||||
if TYPE_CHECKING:
|
||||
from typing_extensions import Literal
|
||||
else:
|
||||
from typing import Union
|
||||
# erm.. I guess as long as it's not crashing, whatever...
|
||||
Literal = Union
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue