New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for type namespace, startswith("sqlalchemy") catches things like "sqlalchemy_utils" #261

Closed
sqlalchemy-bot opened this Issue Jan 6, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@sqlalchemy-bot

sqlalchemy-bot commented Jan 6, 2015

Migrated issue, originally created by Michael Bayer (@zzzeek)

e.g.:

    elif mod.startswith("sqlalchemy"):
        prefix = _sqlalchemy_autogenerate_prefix(autogen_context)
        return "%s%r" % (prefix, type_)
    else:
        prefix = _user_autogenerate_prefix(autogen_context, type_)
        return "%s%r" % (prefix, type_)

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Jan 9, 2015

Michael Bayer (@zzzeek) wrote:

  • changelog: Fixed issue in autogenerate type rendering where types that belong
    to modules that have the name "sqlalchemy" in them would be mistaken
    as being part of the sqlalchemy. namespace. Pull req courtesy
    Bartosz Burclaf. fixes #261

fe54b59

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Jan 9, 2015

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Jan 14, 2015

Michael Bayer (@zzzeek) wrote:

Issue #265 was marked as a duplicate of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment