]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
format doc 6657/head
authorjason3gb <jason3gb@gmail.com>
Mon, 21 Jun 2021 17:08:50 +0000 (01:08 +0800)
committerjason3gb <jason3gb@gmail.com>
Thu, 24 Jun 2021 15:55:41 +0000 (23:55 +0800)
doc/build/changelog/unreleased_14/6646.rst
lib/sqlalchemy/sql/sqltypes.py
test/sql/test_types.py

index 76d4aade3e1890f5f367533cd003cec72cdf7d44..c10a12e0ff37ecc5ec562ed32c5c241d92dedb12 100644 (file)
@@ -1,5 +1,5 @@
 .. change::
-    :tags: usecase, type
+    :tags: usecase, sql
     :tickets: 6646
 
     Add a impl parameter to :class:`.PickleType` constructor, so the user
index b700445f395b3143538513167a7be067d84ee1a2..ef0944c99edc9813eeb026b319e20fe0634973d0 100644 (file)
@@ -1803,9 +1803,10 @@ class PickleType(TypeDecorator):
           the Python "equals" operator is used to compare values.
 
         :param impl: Any implementation class that support storing
-          binary object. (e.g. :class: `.mysql.LONGBLOB`).
-          If let as ``None``, the impl would use class's default impl
+          binary object. (e.g. :class: `_mysql.LONGBLOB`).
+          If left as ``None``, the impl would use class's default impl
           `:class:`.LargeBinary`
+          .. versionadded:: 1.4.20
 
         """
         self.protocol = protocol
index 942c0c5874836a1f7cd7607fb4a319b72631f05e..4b5f74488a5d4d9239307e86f4b7687b38e15c5f 100644 (file)
@@ -3810,6 +3810,8 @@ class PickleTest(fixtures.TestBase):
             assert p1.compare_values(p1.copy_value(obj), obj)
 
     def test_customized_impl(self):
+        """test #6646"""
+
         p1 = PickleType()
         assert isinstance(p1.impl, LargeBinary)