Closed HacKanCuBa closed 3 years ago
I believe this is addressed in #32. In particular your editor may have misunderstood the type of a function annotated with @version
since the version function was missing a return type annotation
I believe this is addressed in #32. In particular your editor may have misunderstood the type of a function annotated with
@version
since the version function was missing a return type annotation
Yes, I would say it's fixed given #32 adds said annotations.
Implement functools.wraps in the
version
decorator to avoid breaking tab completion and breaking wrapped function signature:https://github.com/DeanWay/fastapi-versioning/blob/875863c0a312e4d30ecbb351abc3e145fa203b62/fastapi_versioning/versioning.py#L12