troposphere icon indicating copy to clipboard operation
troposphere copied to clipboard

Do not merge - Prototype intellisense by emitting function signatures for all classes

Open markpeek opened this issue 3 years ago • 0 comments

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

markpeek avatar Mar 07 '22 00:03 markpeek