Skip to content

Commit

Permalink
Python: Add default for load_catalog API (apache#8330)
Browse files Browse the repository at this point in the history
  • Loading branch information
cabhishek authored Aug 17, 2023
1 parent 24b9722 commit a2eb838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyiceberg/catalog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def infer_catalog_type(name: str, catalog_properties: RecursiveDict) -> Optional
)


def load_catalog(name: Optional[str], **properties: Optional[str]) -> Catalog:
def load_catalog(name: Optional[str] = None, **properties: Optional[str]) -> Catalog:
"""Load the catalog based on the properties.
Will look up the properties from the config, based on the name.
Expand Down

0 comments on commit a2eb838

Please sign in to comment.