Skip to content

Commit

Permalink
Merge pull request #62 from iguinn/main
Browse files Browse the repository at this point in the history
Added option to specify file format in catalog.py
  • Loading branch information
gipert authored Aug 26, 2024
2 parents f8ad3a1 + c97b445 commit 24eb62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/legendmeta/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def read_impl(sources):
return result

@staticmethod
def write_to(file_name, obj):
utils.write_dict(file_name, obj)
def write_to(file_name, obj, ftype: str | None = None):
utils.write_dict(file_name, obj, ftype)

@staticmethod
def add_to(props_a, props_b):
Expand Down

0 comments on commit 24eb62d

Please sign in to comment.