modal-labs / synchronicity

Synchronicity lets you interoperate with asynchronous Python APIs.
Apache License 2.0
80 stars 3 forks source link

Use ParamSpec to transfer static type of custom asynccontextmanager #167

Closed freider closed 1 week ago

freider commented 1 week ago

Minor fix for the custom asynccontextmanager wrapper to make it more statically type safe

freider commented 1 week ago

@prbot approve