Skip to content

Commit fd9909a

Browse files
authored
[3.15.1] Update rest_framework.compat (#607)
1 parent 0c32e75 commit fd9909a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rest_framework-stubs/compat.pyi

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ try:
2323
import yaml
2424
except ImportError:
2525
yaml: TypeAlias = None # type: ignore[no-redef]
26+
try:
27+
import inflection
28+
except ImportError:
29+
inflection: TypeAlias = None # type: ignore[no-redef]
2630
try:
2731
import requests
2832
except ImportError:
@@ -63,6 +67,7 @@ __all__ = [
6367
"QuerySet",
6468
"uritemplate",
6569
"yaml",
70+
"inflection",
6671
"pygments",
6772
"markdown",
6873
"apply_markdown",

0 commit comments

Comments
 (0)