Skip to content

Commit

Permalink
fix: Fix python 3.7 cannot import name cached_property
Browse files Browse the repository at this point in the history
  • Loading branch information
amisadmin committed Sep 27, 2022
1 parent 0543594 commit 88248c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastapi_amis_admin/crud/_sqlmodel.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime
import re
from enum import Enum
from functools import cached_property
from typing import Any, Callable, Dict, List, Optional, Pattern, Tuple, Type, Union

from fastapi import APIRouter, Body, Depends, Query
Expand All @@ -17,6 +16,8 @@
from sqlmodel import SQLModel
from starlette.requests import Request

from fastapi_amis_admin.utils.functools import cached_property

from .base import BaseCrud
from .parser import (
SqlField,
Expand Down

0 comments on commit 88248c9

Please sign in to comment.