Removed use of deprecated ``force`` parameter for SQLAlchemy quoting
functions as this parameter will be removed in a future release.
Pull request courtesy Parth Shandilya(ParthS007).
Fixes: #528
Closes: #532
Pull-request: https://github.com/sqlalchemy/alembic/pull/532
Pull-request-sha:
61ce70217527ab67395fa90ebaf4631837b3fe5a
Change-Id: I93b2a0697366b9c0f95338e134d032aaf32c7130
def format_table_name(compiler, name, schema):
- quote = functools.partial(compiler.preparer.quote, force=None)
+ quote = functools.partial(compiler.preparer.quote)
if schema:
return quote_dotted(schema, quote) + "." + quote(name)
else:
def format_column_name(compiler, name):
- return compiler.preparer.quote(name, None)
+ return compiler.preparer.quote(name)
def format_server_default(compiler, default):
--- /dev/null
+.. change::
+ :tags: bug, operations
+ :tickets: 528
+
+ Removed use of deprecated ``force`` parameter for SQLAlchemy quoting
+ functions as this parameter will be removed in a future release.
+ Pull request courtesy Parth Shandilya(ParthS007).
\ No newline at end of file