Skip to content

Commit

Permalink
GTC-2618 Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
manukala6 committed Jan 2, 2024
1 parent 7663772 commit f999cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/datasets/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ async def append_to_version(
update_data = {"creation_options": deepcopy(default_asset.creation_options)}
update_data["creation_options"]["source_uri"] += request.source_uri
if input_data["creation_options"].get("layers"):
update_data["creation_options"]["layers"] += request.layers # TODO replace failed layers with new layers
update_data["creation_options"]["layers"] += request.layers
await assets.update_asset(default_asset.asset_id, **update_data)

version_orm: ORMVersion = await versions.get_version(dataset, version)
Expand Down

0 comments on commit f999cae

Please sign in to comment.