Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "self-managed" Entity with specificAssetId present in the JSON test files #17

Open
zrgt opened this issue Oct 24, 2023 · 1 comment

Comments

@zrgt
Copy link

zrgt commented Oct 24, 2023

I have not found any JSON files in test_data with self-managed Entity having specificAssetId value.

Is there a plan to generate such entities?

@mristin
Copy link
Contributor

mristin commented Oct 25, 2023

@zrgt I haven't planned specifically to generate any additional test data since I am busy with writing the generator for C++ SDK at the moment.

Pull requests are more than welcome! The relevant function is:

For example, have a look at how I generated special cases for submodel element list:

if our_type is submodel_element_list_cls:
yield from _AdditionalForSubmodelElementList.generate_cases(
environment_cls=environment_cls,
submodel_element_list_cls=submodel_element_list_cls,
)

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

No branches or pull requests

2 participants