Skip to content

Comments

Simplify __init__ when passing a connection#10

Open
dcoleman17 wants to merge 1 commit intobbangert:masterfrom
DataDog:simplify_init
Open

Simplify __init__ when passing a connection#10
dcoleman17 wants to merge 1 commit intobbangert:masterfrom
DataDog:simplify_init

Conversation

@dcoleman17
Copy link

If conn is supplied to init(), self.host, self.port, self.unix_socket, self.db, self.password are not used. This PR removes the code that set those variables.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant