Skip to content

Commit 645a1a3

Browse files
committed
refactor: Rename parameter to clarify it's not used
It's needed for type checking, but the value is not used in production.
1 parent f2afd5a commit 645a1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pystac/extensions/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PropertiesExtension(ABC):
5757
``additional_read_properties`` will take precedence.
5858
"""
5959

60-
def _get_property(self, prop_name: str, typ: Type[P]) -> Optional[P]:
60+
def _get_property(self, prop_name: str, _typ: Type[P]) -> Optional[P]:
6161
maybe_property: Optional[P] = self.properties.get(prop_name)
6262
if maybe_property is not None:
6363
return maybe_property

0 commit comments

Comments
 (0)