Skip to content

Commit b2a2e46

Browse files
Gayathri Srividya RajavarapuGayathri Srividya Rajavarapu
authored andcommitted
style: apply ruff format to dict comprehension
1 parent 5f79b47 commit b2a2e46

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎pyiceberg/catalog/rest/__init__.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,7 @@ def _create_session(self) -> Session:
476476

477477
type_prefix = f"{AUTH}.{auth_type}."
478478
auth_type_config = {
479-
k[len(type_prefix):].replace("-", "_"): v
480-
for k, v in self.properties.items()
481-
if k.startswith(type_prefix)
479+
k[len(type_prefix) :].replace("-", "_"): v for k, v in self.properties.items() if k.startswith(type_prefix)
482480
}
483481

484482
self._auth_manager = AuthManagerFactory.create(auth_impl or auth_type, auth_type_config)

0 commit comments

Comments
 (0)