Chore: remove coreapi/coreschema import from compat.py

This commit is contained in:
tgoddessana 2025-03-21 20:31:12 +09:00
parent f9132dc698
commit 051b6f682f

View File

@ -23,32 +23,20 @@ except ImportError:
postgres_fields = None
# coreapi is required for CoreAPI schema generation
try:
import coreapi
except ImportError:
coreapi = None
# uritemplate is required for OpenAPI and CoreAPI schema generation
# uritemplate is required for OpenAPI schema generation
try:
import uritemplate
except ImportError:
uritemplate = None
# coreschema is optional
try:
import coreschema
except ImportError:
coreschema = None
# pyyaml is optional
try:
import yaml
except ImportError:
yaml = None
# inflection is optional
try:
import inflection