Skip to content

Commit a32cef2

Browse files
committed
fix: doc string brackets
Signed-off-by: Tiansu Yu <tiansu.yu@icloud.com>
1 parent f678622 commit a32cef2

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

pyiceberg/catalog/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
482482
"""Register a new table using existing metadata.
483483
484484
Args:
485-
identifier Union[str, Identifier]: Table identifier for the table
486-
metadata_location str: The location to the metadata
485+
identifier (Union[str, Identifier]): Table identifier for the table
486+
metadata_location (str): The location to the metadata
487487
488488
Returns:
489489
Table: The newly registered table
@@ -689,7 +689,7 @@ def table_name_from(identifier: Union[str, Identifier]) -> str:
689689
"""Extract table name from a table identifier.
690690
691691
Args:
692-
identifier (str | Identifier: a table identifier.
692+
identifier (str | Identifier): a table identifier.
693693
694694
Returns:
695695
str: Table name.

pyiceberg/catalog/bigquery_metastore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
272272
"""Register a new table using existing metadata.
273273
274274
Args:
275-
identifier Union[str, Identifier]: Table identifier for the table
276-
metadata_location str: The location to the metadata
275+
identifier (Union[str, Identifier]): Table identifier for the table
276+
metadata_location (str): The location to the metadata
277277
278278
Returns:
279279
Table: The newly registered table

pyiceberg/catalog/dynamodb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
216216
"""Register a new table using existing metadata.
217217
218218
Args:
219-
identifier Union[str, Identifier]: Table identifier for the table
220-
metadata_location str: The location to the metadata
219+
identifier (Union[str, Identifier]): Table identifier for the table
220+
metadata_location (str): The location to the metadata
221221
222222
Returns:
223223
Table: The newly registered table

pyiceberg/catalog/glue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
473473
"""Register a new table using existing metadata.
474474
475475
Args:
476-
identifier Union[str, Identifier]: Table identifier for the table
477-
metadata_location str: The location to the metadata
476+
identifier (Union[str, Identifier]): Table identifier for the table
477+
metadata_location (str): The location to the metadata
478478
479479
Returns:
480480
Table: The newly registered table

pyiceberg/catalog/hive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
443443
"""Register a new table using existing metadata.
444444
445445
Args:
446-
identifier Union[str, Identifier]: Table identifier for the table
447-
metadata_location str: The location to the metadata
446+
identifier (Union[str, Identifier]): Table identifier for the table
447+
metadata_location (str): The location to the metadata
448448
449449
Returns:
450450
Table: The newly registered table

pyiceberg/catalog/noop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
7575
"""Register a new table using existing metadata.
7676
7777
Args:
78-
identifier Union[str, Identifier]: Table identifier for the table
79-
metadata_location str: The location to the metadata
78+
identifier (Union[str, Identifier]): Table identifier for the table
79+
metadata_location (str): The location to the metadata
8080
8181
Returns:
8282
Table: The newly registered table

pyiceberg/catalog/rest/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
575575
"""Register a new table using existing metadata.
576576
577577
Args:
578-
identifier Union[str, Identifier]: Table identifier for the table
579-
metadata_location str: The location to the metadata
578+
identifier (Union[str, Identifier]): Table identifier for the table
579+
metadata_location (str): The location to the metadata
580580
581581
Returns:
582582
Table: The newly registered table

pyiceberg/catalog/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ def register_table(self, identifier: Union[str, Identifier], metadata_location:
241241
"""Register a new table using existing metadata.
242242
243243
Args:
244-
identifier Union[str, Identifier]: Table identifier for the table
245-
metadata_location str: The location to the metadata
244+
identifier (Union[str, Identifier]): Table identifier for the table
245+
metadata_location (str): The location to the metadata
246246
247247
Returns:
248248
Table: The newly registered table

0 commit comments

Comments
 (0)