* Typing: url in create_mock_engine can be a string
Similar to create_engine
* run back on the code
Change-Id: Ie92aaa121e587c93f2d9c0b8c06f194685bb070e
---------
Co-authored-by: Federico Caselli <cfederico87@gmail.com>
return self._execute_impl(obj, parameters)
-def create_mock_engine(url: URL, executor: Any, **kw: Any) -> MockConnection:
+def create_mock_engine(
+ url: Union[str, URL], executor: Any, **kw: Any
+) -> MockConnection:
"""Create a "mock" engine used for echoing DDL.
This is a utility function used for debugging or storing the output of DDL