Skip to content

Commit

Permalink
feat(artifact): update get_file_catalog input parameter default values (
Browse files Browse the repository at this point in the history
#203)

Because

- get_file_catalog file_id and file_uid can allow empty string as input

This commit

- add default value for get_file_catalog input parameters

related changes for documentation at
instill-ai/instill.tech#1087
  • Loading branch information
joremysh authored Sep 11, 2024
1 parent 9e38b70 commit f5da73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instill/clients/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ def get_file_catalog(
self,
namespace_id: str,
catalog_id: str,
file_id: str,
file_uid: str,
file_id: str = "",
file_uid: str = "",
async_enabled: bool = False,
) -> file_catalog_interface.GetFileCatalogResponse:
if async_enabled:
Expand Down

0 comments on commit f5da73f

Please sign in to comment.