Skip to content

Commit

Permalink
Merge branch 'main' of github.com:latchbio/latch into ayush/cp-conn-r…
Browse files Browse the repository at this point in the history
…euse
  • Loading branch information
ayushkamat committed Oct 2, 2024
2 parents 192a600 + 7abc4ab commit 0f37225
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Types of changes

# Latch SDK Changelog

## v2.53.1 - 2024-10-02

### Added

* Nextflow
- Add support for $defs keyword for metadata generation

## v2.53.0 - 2024-09-28

### Changed
Expand Down
7 changes: 6 additions & 1 deletion latch_cli/nextflow/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ def generate_metadata(
click.secho(f"Generated `{metadata_path}`.", fg="green")

params = []
for section in schema.get("definitions", {}).values():

defs = schema.get("definitions")
if defs is None:
defs = schema.get("$defs", {})

for section in defs.values():
section_title = section.get("title")
required_params = set(section.get("required", []))

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="latch",
version="v2.53.0",
version="v2.53.1",
author_email="[email protected]",
description="The Latch SDK",
packages=find_packages(),
Expand Down

0 comments on commit 0f37225

Please sign in to comment.