about summary refs log tree commit diff
path: root/users/aspen/emacs.d/snippets/python-mode/add_column
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/emacs.d/snippets/python-mode/add_column')
-rw-r--r--users/aspen/emacs.d/snippets/python-mode/add_column5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/aspen/emacs.d/snippets/python-mode/add_column b/users/aspen/emacs.d/snippets/python-mode/add_column
new file mode 100644
index 000000000000..47e83850d5b7
--- /dev/null
+++ b/users/aspen/emacs.d/snippets/python-mode/add_column
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: add_column
+# key: op.add_column
+# --
+op.add_column('${1:table}', sa.Column('${2:name}', sa.${3:String()}))$0