smithy-lang / smithy-python

Smithy code generators and core modules for Python (in development)
Apache License 2.0
48 stars 10 forks source link

Generate RestJson event stream implementation #323

Closed JordonPhillips closed 1 month ago

JordonPhillips commented 1 month ago

This updates generic event stream generation with recently introduced changes and also introduces the concrete implementation for RestJson.

Testing for all of this will be done via protocol tests, and in the early days manual testing.

Since a lot of this is effectively throwaway code, I was more liberal with type ignoring and using Any types than I otherwise would be. The request pipeline is going to be moving to pure python soon^tm, and the typing issues will be resolved at that time.

This depends on #322

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.