-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade to BuildingSync Version 2.4 #14
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
Conversation
46845e8 to
62563a9
Compare
| bs_element.element_children.append( | ||
| (child_name, choice_element.element_full_name) | ||
| ) | ||
| if child_name and child_ref: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the chunk of code that was needed to resolve the reference not found issue. In short, we were not checking for references in choice elements.
| [tool.poetry.dev-dependencies] | ||
| pytest = "^6.2.5" | ||
| pre-commit = "^2.15.0" | ||
| virtualenv = "20.09.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Actions does not support 20.10.0, yet...
| dt = datetime.datetime(2019, 1, 1, 0, 0, 0) | ||
| ts = bsync.TimeSeriesData.TimeSeries.StartTimestamp(dt) | ||
| dt = datetime.datetime(2019, 1, 1, 8, 24, 59) | ||
| ts = bsync.StartTimestamp(dt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
several elements were promoted to complex/simple types, so they are now at the top level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⚡
Fixes #11