datasette-write 0.3__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of datasette-write might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datasette-write
3
- Version: 0.3
3
+ Version: 0.3.2
4
4
  Summary: Datasette plugin providing a UI for writing to a database
5
5
  Home-page: https://github.com/simonw/datasette-write
6
6
  Author: Simon Willison
@@ -50,7 +50,6 @@ async def write(request, datasette):
50
50
  params = {
51
51
  key[3:]: value for key, value in formdata.items() if key.startswith("qp_")
52
52
  }
53
- print(params)
54
53
  try:
55
54
  result = await database.execute_write(sql, params, block=True)
56
55
  if result.rowcount == -1:
@@ -167,6 +166,7 @@ def database_actions(datasette, actor, database):
167
166
  )
168
167
  ),
169
168
  "label": "Execute SQL write",
169
+ "description": "Run queries like insert/update/delete against this database",
170
170
  },
171
171
  ]
172
172
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datasette-write
3
- Version: 0.3
3
+ Version: 0.3.2
4
4
  Summary: Datasette plugin providing a UI for writing to a database
5
5
  Home-page: https://github.com/simonw/datasette-write
6
6
  Author: Simon Willison
@@ -1,7 +1,7 @@
1
1
  from setuptools import setup
2
2
  import os
3
3
 
4
- VERSION = "0.3"
4
+ VERSION = "0.3.2"
5
5
 
6
6
 
7
7
  def get_long_description():
File without changes
File without changes