You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and didn't find my feature already requested there
Feature description
Would it be possible to elaborate on, or provide an example of entry point usage with an external package? I've been quite keen to extend sqlacodegen but cannot get a working setup with the entry points; any generator I write simply doesn't show up in the list of valid generators when I try to use it with --generator.
I've currently got sqlcodegen working well in one project and generating as I'd expect. In a neighbouring directory I've got
from sqlacodegen.generators import CodeGenerator
class Generator(CodeGenerator):
def generate(self) -> str:
print(">>> Generating! <<<")
return ""
I'm aware this is entirely my fault, but I've really no idea how I could make this more simple, and my Google-fu is failing to give me any simple way to debug this part of the Python toolchain
Use case
Same as above
The text was updated successfully, but these errors were encountered:
Things to check first
Feature description
Would it be possible to elaborate on, or provide an example of entry point usage with an external package? I've been quite keen to extend
sqlacodegen
but cannot get a working setup with the entry points; any generator I write simply doesn't show up in the list of valid generators when I try to use it with--generator
.I've currently got
sqlcodegen
working well in one project and generating as I'd expect. In a neighbouring directory I've gotwhere the contents of the
pyproject.toml
areand the contents of
generator.py
areI'm aware this is entirely my fault, but I've really no idea how I could make this more simple, and my Google-fu is failing to give me any simple way to debug this part of the Python toolchain
Use case
Same as above
The text was updated successfully, but these errors were encountered: