Skip to content

Commit 5b6eaca

Browse files
committed
REST: Allow Identifier type in drop_view
1 parent 2be1827 commit 5b6eaca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pyiceberg/catalog/rest/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ def register_view(self, identifier: str | Identifier, metadata_location: str) ->
14381438

14391439
@retry(**_RETRY_ARGS)
14401440
@override
1441-
def drop_view(self, identifier: str) -> None:
1441+
def drop_view(self, identifier: str | Identifier) -> None:
14421442
self._check_endpoint(Capability.V1_DELETE_VIEW)
14431443
response = self._session.delete(
14441444
self.url(Endpoints.drop_view, prefixed=True, **self._split_identifier_for_path(identifier, IdentifierKind.VIEW)),

0 commit comments

Comments
 (0)