mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
_ prefix for many private methods of Datasette, refs #576
This commit is contained in:
parent
ca56c226a9
commit
012c76901a
2 changed files with 15 additions and 15 deletions
|
|
@ -104,7 +104,7 @@ class Database:
|
|||
conn = getattr(connections, self.name, None)
|
||||
if not conn:
|
||||
conn = self.connect()
|
||||
self.ds.prepare_connection(conn, self.name)
|
||||
self.ds._prepare_connection(conn, self.name)
|
||||
setattr(connections, self.name, conn)
|
||||
return fn(conn)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue