events: exclude base models from model audit log

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2023-01-18 13:52:11 +01:00
parent b75d659707
commit 6e0c9acb34
2 changed files with 21 additions and 4 deletions

View File

@ -94,7 +94,7 @@ class BlueprintEntry:
depth: int = 0,
context_tag_type: Optional[type["YAMLTagContext"] | tuple["YAMLTagContext", ...]] = None,
) -> "YAMLTagContext":
"""Get a YAMLTagContex object located at a certain depth in the tag tree"""
"""Get a YAMLTagContext object located at a certain depth in the tag tree"""
if depth < 0:
raise ValueError("depth must be a positive number or zero")