Skip to content

Commit a5ec24d

Browse files
committed
get file_format and compression from metadata file
1 parent 02481b3 commit a5ec24d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

databusclient/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def create_distributions_from_metadata(metadata: List[Dict[str, Union[str, int]]
248248
create_distribution(
249249
url=url,
250250
cvs={"count": f"{counter}"},
251-
file_format=None,
252-
compression=None,
251+
file_format=entry.get("file_format"),
252+
compression=entry.get("compression"),
253253
sha256_length_tuple=(checksum, size)
254254
)
255255
)

0 commit comments

Comments
 (0)