Skip to content

Memorized DOMAIN ObjectType for a proper export#655

Open
FedericoSpada wants to merge 1 commit intocanopen-python:masterfrom
FedericoSpada:export_domain_objects
Open

Memorized DOMAIN ObjectType for a proper export#655
FedericoSpada wants to merge 1 commit intocanopen-python:masterfrom
FedericoSpada:export_domain_objects

Conversation

@FedericoSpada
Copy link
Copy Markdown

While working with an EDS that had DOMAIN objects, I've noted that when imported and exported using this library, all DOMAIN Objects were converted to normal Variables.

While importing an EDS, I've changed to save whether a Variable was created from an object with ObjectType==DOMAIN. In this way, it is possible to export it unchanged with the proper ObjectType value.

Changed to save whether a Variable has ObjectType==DOMAIN while importing an EDS, so that it is possible to export it unchanged.
Copy link
Copy Markdown
Contributor

@bizfsc bizfsc left a comment

Choose a reason for hiding this comment

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

Looking good. As far as I can check it, no new problems introduced for mypy.

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.

2 participants