Comments (5)
It looks like it's an unnamed choice, with an optional WeatherStations child element or one of the three WeatherDataStationID, WeatherStationName, or WeatherStationCategory.
<xs:sequence>
<xs:element ref="auc:WeatherDataStationID" minOccurs="0"/>
<xs:element ref="auc:WeatherStationName" minOccurs="0"/>
<xs:element ref="auc:WeatherStationCategory" minOccurs="0"/>
</xs:sequence>
<xs:element ref="auc:WeatherStations" minOccurs="0"/>
</xs:choice>
This is in addition to being a child element of elements of type WeatherStation.
from bsyncpy.
ah, right. forgot about that. we have a few of these that are in there due to being in line for deprecation. I'm not familiar enough with how the generator works, but question:
- Would making it a named choice help?
- Do other choices work?
from bsyncpy.
The 2-weatherstationid branch has the fix, things like Buildings(Buildings.Building(WeatherDataStationID(IDRef="snork")))
and Sites(Sites.Site(WeatherStationName("Mosiman Hall")))
now work correctly.
from bsyncpy.
The "black" action failed, apparently it wants to make sure that there are no files that are reformatted. I'm using black version 20.8b1 that I ran before the commit/push so maybe that's why, maybe this could be turned into a warning.
from bsyncpy.
Are you using pre-commit? I think if you use the pre-commit hooks, then your local implementation should match what gets run in the CI. I added two tests to prove this out - thanks for addressing @JoelBender!
from bsyncpy.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsyncpy.