troposphere
troposphere copied to clipboard
Do not merge - Prototype intellisense by emitting function signatures for all classes
Based on the auto-gen work and @ITProKyle typing changes, I put together a quick prototype to allow for some intellisense functionality. This is a WIP.
To try out:
- Download the branch
- Install the dev requirements
- make spec
- make regen (note: wafv2 will fail)
- Test with your favorite editor
Issues:
- Template has a circular dependency so tests fail. Does anyone even use that argument?
- wafv2 has a "None" property name that doesn't play well with python. Guess no one is using it anyway.
- Doesn't handle multiple validation types where a Union might be needed.
- Likely more...this was a quick test.
Might be of interest to @JohnPreston @michael-k