Skip to content

Commit 39ce6bd

Browse files
committed
remove unused import
1 parent a796dbf commit 39ce6bd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

contentctl/objects/lookup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import re
77
from enum import StrEnum, auto
88
from functools import cached_property
9-
from typing import TYPE_CHECKING, Annotated, Any, Literal, Optional, Self
9+
from typing import TYPE_CHECKING, Annotated, Any, Literal, Self
1010

1111
from pydantic import (
1212
Field,
@@ -69,10 +69,13 @@ class Lookup_Type(StrEnum):
6969

7070
# TODO (#220): Split Lookup into 2 classes
7171
class Lookup(SecurityContentObject, abc.ABC):
72-
default_match: str = Field(default='', description="This field is given a default value of ''"
73-
"because it is the default value specified in the transforms.conf "
74-
"docs. Giving it a type of str rather than str | None simplifies "
75-
"the typing for the field.")
72+
default_match: str = Field(
73+
default="",
74+
description="This field is given a default value of ''"
75+
"because it is the default value specified in the transforms.conf "
76+
"docs. Giving it a type of str rather than str | None simplifies "
77+
"the typing for the field.",
78+
)
7679
# Per the documentation for transforms.conf, EXACT should not be specified in this list,
7780
# so we include only WILDCARD and CIDR
7881
match_type: list[Annotated[str, Field(pattern=r"(^WILDCARD|CIDR)\(.+\)$")]] = Field(

0 commit comments

Comments
 (0)