Skip to content

Fix GitHub Issue#278

Merged
juileetikekar merged 2 commits intomainfrom
jtikekar/GitHubIssue254
Mar 25, 2025
Merged

Fix GitHub Issue#278
juileetikekar merged 2 commits intomainfrom
jtikekar/GitHubIssue254

Conversation

@juileetikekar
Copy link
Contributor

This PR fixes GH Issue #254.

With this fix, both the mulitple submodels as array,
and a single submodel can be imported to the package explorer.

This way the functionality is also interoperable
with the package explorer.

{
    "submodels": [
        {
            "modelType": "Submodel",
            "id": "https://acplt.org/Simple_Submodel"
        }
    ]
}

Single Submodel:

{
    "modelType": "Submodel",
    "id": "https://acplt.org/Simple_Submodel"
}

Copy link
Contributor

@MichaelHoffmeisterFesto MichaelHoffmeisterFesto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful!

@juileetikekar juileetikekar merged commit 6de79a1 into main Mar 25, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The import/export of JSON in PE is not working when using JSON serialization/deserialization with the basyx-python-sdk.

2 participants