Fix get_driver typing issue
See original GitHub issueThe reason why current builds like https://travis-ci.com/DHI-GRAS/terracotta/builds/117457626 fail:
There is a typing error: get_driver
accepts Union[str, Path]
and passes that on to DriverClass.__init__
, which is fine for SQLiteDriver
but not for MySQLDriver
, which only accepts str
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
How to Fix Keyboard Not Working on Windows 10 Laptop and ...
Click the button below to get Driver Talent directly. Download Now. Step 1. Identify Your Keyboard Driver Issue. Launch Driver Talent. Your ...
Read more >Here's how to fix a corrupted keyboard driver in Windows 10/11
How can I fix corrupted keyboard driver issues? Reinstall keyboard driver; Examine your keyboard to ensure it isn't damaged physically; Check ...
Read more >Keyboard not typing issue in Windows 7, 8 & 10 | Drivers.com
Keyboard not typing issue in Windows 7/8/10 can occur because of many reasons, such as outdated or corrupt drivers.
Read more >How to Update and Reinstall Keyboard Drivers on Windows ...
How Do I Fix Keyboard Driver Problems? The simplest and most workable way to resolve all the keyboard driver problems is to update...
Read more >Can no longer get driver by provider name string #1390 - GitHub
Summary Can no longer get driver by provider name string as of 2.7.0. Detailed Information home@billy [~]--[$ python3 -m venv libcloud-venv ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes.
Let’s change the type signature to
str
. People can still pass paths, which will work for the SQLite driver, but the officially supported way is string anyway.