DALI icon indicating copy to clipboard operation
DALI copied to clipboard

Reinitialize properties when deserializing

Open klecki opened this issue 3 years ago • 1 comments

Category: Bug fix, Refactoring

Description:

First commit from #4096

When deserializing, the frontend values are not initialized. Initialize them based on the backend values.

Needed to fix another part of feed_input to deserialized pipelines.

An alternative would be to expose those properties directly from backend instead of copying them over.

TODO: Remaining properties.

Additional information:

Affected modules and functionalities:

Frontend Pipeline under deserialization.

Key points relevant for the review:

Tests:

  • [ ] Existing tests apply
  • [ x] New tests added
    • [x] Python tests
    • [ ] GTests
    • [ ] Benchmark
    • [ ] Other
  • [ ] N/A

Checklist

Documentation

  • [ ] Existing documentation applies
  • [ ] Documentation updated
    • [ ] Docstring
    • [ ] Doxygen
    • [ ] RST
    • [ ] Jupyter
    • [ ] Other
  • [x] N/A

DALI team only

Requirements

  • [ ] Implements new requirements
  • [ ] Affects existing requirements
  • [ ] N/A

REQ IDs: N/A

JIRA TASK: N/A

klecki avatar Jul 25 '22 18:07 klecki

This is a part of one of two possible solutions - changing to draft

klecki avatar Jul 26 '22 10:07 klecki