We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2790ef9 commit 469b3d4Copy full SHA for 469b3d4
backend/apps/datasource/crud/datasource.py
@@ -1,8 +1,10 @@
1
import datetime
2
import json
3
+import platform
4
from typing import List, Optional
5
-import dmPython
6
+if platform.system() != "Darwin":
7
+ import dmPython
8
from fastapi import HTTPException
9
from sqlalchemy import and_, text
10
from sqlmodel import select
backend/apps/db/db.py
@@ -1,9 +1,11 @@
import base64
import urllib.parse
from decimal import Decimal
from sqlalchemy import create_engine, text, Engine
from sqlalchemy.orm import sessionmaker
11
0 commit comments