Skip to content

Column.copy skip the doc attribute #2028

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

The "doc" parameter is not copied by Column.copy.

Here is a patch against the rel_0_6 branch :

diff -r d239319ff10967cd07929a963092612badcca5d2 lib/sqlalchemy/schema.py
--- a/lib/sqlalchemy/schema.py	Tue Jan 18 17:17:29 2011 -0500
+++ b/lib/sqlalchemy/schema.py	Thu Jan 20 15:48:54 2011 +0100
@@ -902,6 +902,7 @@
                 unique = self.unique, 
                 quote=self.quote, 
                 index=self.index, 
+                doc=self.doc,
                 autoincrement=self.autoincrement, 
                 default=self.default,
                 server_default=self.server_default,

Activity

sqlalchemy-bot

sqlalchemy-bot commented on Jan 30, 2011

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

1c1ff92
3ff2287

thanks for the patch

sqlalchemy-bot

sqlalchemy-bot commented on Jan 30, 2011

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
added
schemathings related to the DDL related objects like Table, Column, CreateIndex, etc.
bugSomething isn't working
on Nov 27, 2018
added this to the 0.6.7 milestone on Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingschemathings related to the DDL related objects like Table, Column, CreateIndex, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sqlalchemy-bot

        Issue actions

          Column.copy skip the doc attribute · Issue #2028 · sqlalchemy/sqlalchemy