Skip to content

Commit 6cafb5a

Browse files
committed
docs: Add deprecated mentions in visitor/inspection/hybrid extensions
1 parent db0e0e3 commit 6cafb5a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/griffe/extensions/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class When(enum.Enum):
4242

4343

4444
class VisitorExtension:
45-
"""The node visitor extension base class, to inherit from."""
45+
"""Deprecated in favor of `Extension`. The node visitor extension base class, to inherit from."""
4646

4747
when: When = When.after_all
4848

@@ -74,7 +74,7 @@ def visit(self, node: ast.AST) -> None:
7474

7575

7676
class InspectorExtension:
77-
"""The object inspector extension base class, to inherit from."""
77+
"""Deprecated in favor of `Extension`. The object inspector extension base class, to inherit from."""
7878

7979
when: When = When.after_all
8080

src/griffe/extensions/hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""This extension provides an hybrid behavior while loading data."""
1+
"""Deprecated. This extension provides an hybrid behavior while loading data."""
22

33
from __future__ import annotations
44

0 commit comments

Comments
 (0)