klen / peewee_migrate

Simple migration engine for Peewee
MIT License
353 stars 86 forks source link

type annotation support? #146

Closed trim21 closed 5 years ago

trim21 commented 5 years ago

A example:

from typing import Type

T = Type('T')

class Manager:
    async def get(self, source_: T, *args, **kwargs) -> T:
        pass
trim21 commented 5 years ago

sorry, wrong repo...= =||